Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for tensor_interface (0.32 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/tf_tensor_internal.h

    // a different Allocator as `arg`.
    void deallocate_buffer(void* data, size_t len, void* arg);
    
    class TensorInterface : public AbstractTensorInterface {
     public:
      TensorInterface() {}
      explicit TensorInterface(tensorflow::Tensor t) : tensor_(std::move(t)) {}
      ~TensorInterface() override {}
    
      void Release() override;
    
      DataType Type() const override;
      int NumDims() const override;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/revived_types/asset.cc

    #include "absl/status/status.h"
    #include "absl/strings/str_cat.h"
    #include "tensorflow/c/eager/immediate_execution_context.h"
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/cc/saved_model/constants.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/path.h"
    
    namespace tensorflow {
    
    Asset::Asset(ImmediateTensorHandlePtr handle)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/immediate_execution_tensor_handle.h

    #ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_TENSOR_HANDLE_H_
    #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_TENSOR_HANDLE_H_
    
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Abstract interface to a TensorHandle.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 10 21:56:24 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/revived_types/constant.h

    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    #include "tensorflow/c/experimental/saved_model/core/revived_types/tensorhandle_convertible.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/framework/tensor.pb.h"
    
    namespace tensorflow {
    
    // This class corresponds to python's tf.constant, which is effectively a
    // TensorHandle explicitly initialized to some value.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 19:43:25 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/ops/restore_ops_test.cc

    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    #include "tensorflow/c/experimental/saved_model/core/test_utils.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/cc/saved_model/constants.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/lib/core/status_test_util.h"
    #include "tensorflow/core/platform/path.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc

    #include "tensorflow/c/experimental/saved_model/core/saved_model_utils.h"
    #include "tensorflow/c/experimental/saved_model/core/test_utils.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/common_runtime/device_mgr.h"
    #include "tensorflow/core/common_runtime/eager/context.h"
    #include "tensorflow/core/common_runtime/eager/tensor_handle.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/immediate_execution_operation.h

    #include <memory>
    
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_operation.h"
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/framework/cancellation.h"
    #include "tensorflow/core/framework/device_attributes.pb.h"
    #include "tensorflow/core/framework/op_def.pb.h"
    #include "tensorflow/core/framework/types.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 26 22:40:32 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/test_utils.cc

    #include <memory>
    #include <vector>
    
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/common_runtime/device_mgr.h"
    #include "tensorflow/core/common_runtime/eager/context.h"
    #include "tensorflow/core/framework/numeric_types.h"
    #include "tensorflow/core/framework/register_types.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:13:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. 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)
Back to top