- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for MakeTensor (0.1 sec)
-
tensorflow/c/tf_tensor_internal.h
void* const deallocator_arg_; bool owns_memory_; }; namespace tensorflow { class TensorCApi { public: static TensorBuffer* Buffer(const Tensor& tensor) { return tensor.buf_; } static Tensor MakeTensor(TF_DataType type, const TensorShape& shape, TensorBuffer* buf) { return Tensor(static_cast<DataType>(type), shape, buf); } }; // Allocates tensor data buffer using specified allocator.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 24 20:38:55 UTC 2023 - 4.6K bytes - Viewed (0)