- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TFETensorHandleDeleter (0.18 sec)
-
tensorflow/c/safe_ptr.h
#include "tensorflow/c/eager/c_api.h" namespace tensorflow { namespace detail { struct TFTensorDeleter { void operator()(TF_Tensor* p) const { TF_DeleteTensor(p); } }; struct TFETensorHandleDeleter { void operator()(TFE_TensorHandle* p) const { TFE_DeleteTensorHandle(p); } }; struct TFStatusDeleter { void operator()(TF_Status* p) const { TF_DeleteStatus(p); } }; struct TFBufferDeleter {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 22 19:17:09 UTC 2023 - 2.3K bytes - Viewed (0) -
tensorflow/cc/experimental/base/public/tensorhandle.h
// and takes ownership of handle. void Reset(TFE_TensorHandle* handle) { handle_.reset(handle); } struct TFETensorHandleDeleter { void operator()(TFE_TensorHandle* p) const { TFE_DeleteTensorHandle(p); } }; std::unique_ptr<TFE_TensorHandle, TFETensorHandleDeleter> handle_; }; inline Tensor TensorHandle::Resolve(Status* status) { TF_Tensor* tensor =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 12 19:37:48 UTC 2020 - 3.7K bytes - Viewed (0)