Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for tensor_interface (0.31 sec)

  1. tensorflow/c/BUILD

        ],
    )
    
    cc_library(
        name = "tf_file_statistics",
        hdrs = ["tf_file_statistics.h"],
        visibility = ["//visibility:public"],
    )
    
    cc_library(
        name = "tensor_interface",
        hdrs = ["tensor_interface.h"],
        visibility = ["//tensorflow:internal"],
        deps = select({
            "//tensorflow:android": [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

      bool parse_result = tensor.FromProto(proto);
      if (!parse_result) {
        return errors::Internal("Failed to parse tensor from tensorproto");
      }
    
      TensorInterface tensor_interface(std::move(tensor));
      return Constant::Create(ctx, &tensor_interface, output);
    }
    
    // This follows the python variable restoration logic:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  3. tensorflow/c/eager/immediate_execution_context.h

    #include "tensorflow/c/eager/immediate_execution_distributed_manager.h"
    #include "tensorflow/c/eager/immediate_execution_operation.h"
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/framework/numeric_types.h"
    #include "tensorflow/core/framework/tensor.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 08:34:00 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_internal.h"
    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/c/tf_status_internal.h"
    #include "tensorflow/compiler/mlir/tensorflow/dialect_registration.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. tensorflow/c/tf_tensor.cc

        return true;
      }
      return false;
    }
    
    std::string TensorInterface::SummarizeValue() const {
      return tensor_.SummarizeValue(/*max_entries=*/3, /*print_v2=*/true);
    }
    
    DataType TensorInterface::Type() const { return tensor_.dtype(); }
    
    int TensorInterface::NumDims() const { return tensor_.dims(); }
    
    int64_t TensorInterface::Dim(int dim_index) const {
      return static_cast<int64_t>(tensor_.dim_size(dim_index));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/BUILD

        hdrs = ["immediate_execution_tensor_handle.h"],
        visibility = [
            "//tensorflow:internal",
        ],
        deps = [
            ":abstract_tensor_handle",
            "//tensorflow/c:tensor_interface",
            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
            "//tensorflow/core:protos_all_cc",
        ],
    )
    
    cc_library(
        name = "abstract_op_attrs",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.cc

    void TFE_OpSetAttrTensor(TFE_Op* op, const char* attr_name, TF_Tensor* tensor,
                             TF_Status* status) {
      tensorflow::Tensor t;
      status->status = TF_TensorToTensor(tensor, &t);
      tensorflow::TensorInterface interface(t);
      status->status = tensorflow::unwrap(op)->SetAttrTensor(attr_name, &interface);
    }
    
    void TFE_OpSetAttrStringList(TFE_Op* op, const char* attr_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top