Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for variant (0.19 sec)

  1. tensorflow/c/eager/parallel_device/BUILD

            "//tensorflow/c/eager:tfe_tensorhandle_internal",
            "@com_google_absl//absl/strings",
            "@com_google_absl//absl/types:optional",
            "@com_google_absl//absl/types:variant",
        ],
    )
    
    cc_library(
        name = "parallel_device_lib",
        srcs = [":lib_sources"],
        hdrs = [":lib_headers"],
        visibility = ["//tensorflow:internal"],
        deps = [
            "//tensorflow/c:c_api",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/BUILD

            "//tensorflow/c/experimental/filesystem:filesystem_interface",
            "@com_github_googlecloudplatform_google_cloud_cpp//:storage_client",
            "@com_google_absl//absl/strings",
            "@com_google_absl//absl/types:variant",
        ],
    )
    
    cc_library(
        name = "gcs_helper",
        srcs = ["gcs_helper.cc"],
        hdrs = ["gcs_helper.h"],
        linkstatic = 1,
        deps = [
            "//tensorflow/c:env",
        ],
    )
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. ci/official/utilities/rename_and_verify_wheels.sh

      "$python" -c 'import sys; import tensorflow as tf; sys.exit(0 if "keras" in tf.keras.__name__ else 1)'
    fi
    # VERY basic check to ensure the [and-cuda] package variant is installable.
    # Checks TFCI_BAZEL_COMMON_ARGS for "gpu" or "cuda", implying that the test is
    # relevant. All of the GPU test machines have CUDA installed via other means,
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/c/checkpoint_reader.h

      // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()".
      std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
                std::unique_ptr<TensorSliceReader::VarToDataTypeMap> >
      BuildV2VarMaps();
    
      // Invariant: exactly one of "reader_" and "v2_reader_" is non-null.
      std::unique_ptr<TensorSliceReader> reader_;
      std::unique_ptr<BundleReader> v2_reader_;
    
      std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map_;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/math_grad.cc

        return tensorflow::ops::Identity(ctx, input, output, name);
      } else if (!DataTypeIsComplex(BaseType(dtype)) &&
                 BaseType(dtype) != DT_VARIANT) {
        return errors::InvalidArgument(
            "Expected numeric or variant tensor, got dtype ", dtype);
      }
      return tensorflow::ops::Conj(ctx, input, output, name);
    }
    
    class AddGradientFunction : public GradientFunction {
     public:
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/tape.h

        // Ownership of `aid` transferred to CallBackwardFunction below.
        Gradient* aid;
        if (output_tensor.GetDType() == tensorflow::DT_VARIANT) {
          // Note: Needs to be zeros rather than ones since there's currently no
          // ones_like for variants.
          aid = output_tensor.ZerosLike();
        } else {
          // TODO(allenl): Figure out why using zeros_like everywhere causes issues
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  7. tensorflow/c/eager/parallel_device/parallel_device.cc

    };
    
    using OpPtr = std::unique_ptr<TFE_Op, OpDeleter>;
    
    using MaybeParallelTensorOwned =
        absl::variant<std::unique_ptr<ParallelTensor>, TensorHandlePtr>;
    
    using MaybeParallelTensorUnowned =
        absl::variant<ParallelTensor*, TFE_TensorHandle*>;
    
    // A ParallelDevice on its own is not registered with a TFE_Context, and so has
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/BUILD

                "//tensorflow/core/profiler/lib:traceme",
                "@com_google_absl//absl/algorithm:container",
                "@com_google_absl//absl/types:span",
                "@com_google_absl//absl/types:variant",
            ],
        }) + [
            ":abstract_tensor_handle",
            "//tensorflow/c:c_api_macros_hdrs",
            "//tensorflow/core:gpu_runtime",
            "//tensorflow/core/common_runtime/eager:eager_operation",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    #include "tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h"
    
    #include <stdlib.h>
    #include <string.h>
    
    #include <variant>
    
    #include "absl/strings/numbers.h"
    #include "absl/strings/str_cat.h"
    #include "absl/types/variant.h"
    #include "google/cloud/storage/client.h"
    #include "tensorflow/c/env.h"
    #include "tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  10. tensorflow/c/BUILD

            "//tensorflow/core/platform:refcount",
        ] + if_not_mobile([
            "//tensorflow/core/kernels:tensor_list",
            "//tensorflow/core/kernels:tensor_list_util",
            "//tensorflow/core/kernels:variant_ops_util",
            "//tensorflow/core/kernels/data:optional_ops_util",
            "//tensorflow/core/platform:abi",
        ]),
        alwayslink = 1,
    )
    
    tf_cuda_library(
        name = "ops",
        srcs = [
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
Back to top