Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TensorInterfaceFromTensor (0.24 sec)

  1. tensorflow/c/tf_tensor.cc

          dtype, reinterpret_cast<const int64_t*>(dims.data()), shape.dims(),
          reinterpret_cast<void*>(&empty), 0, [](void*, size_t, void*) {}, nullptr);
    }
    
    namespace tensorflow {
    
    AbstractTensorInterface* TensorInterfaceFromTensor(const Tensor& src,
                                                       Status* status) {
      *status = absl::OkStatus();
      if (!src.IsInitialized()) {
        *status = FailedPrecondition(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. tensorflow/c/tf_tensor_internal.h

      tensorflow::Tensor tensor_;
    };
    
    inline Tensor& TensorFromInterface(AbstractTensorInterface* tensor) {
      return down_cast<TensorInterface*>(tensor)->Tensor();
    }
    
    AbstractTensorInterface* TensorInterfaceFromTensor(const Tensor& src,
                                                       Status* status);
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top