- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TFE_NewCustomDeviceTensorHandle (0.23 seconds)
-
tensorflow/c/eager/custom_device_testutil.cc
TFE_CustomDeviceTensorHandleMethods handle_methods; handle_methods.num_dims = &LoggedTensorNumDims; handle_methods.dim = &LoggedTensorDim; handle_methods.deallocator = &LoggedTensorDeallocator; return TFE_NewCustomDeviceTensorHandle(context, logging_device_name.c_str(), dtype, t.release(), handle_methods, status); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Dec 20 23:30:21 GMT 2025 - 8.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.h
// device_name. Takes ownership of the memory, and will call deleter to release // it after TF no longer needs it or in case of error. // // Custom devices must use TFE_NewCustomDeviceTensorHandle instead. TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromDeviceMemory( TFE_Context* ctx, const char* device_name, TF_DataType, const int64_t* dims, int num_dims, void* data, size_t len,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Click Count (1) -
tensorflow/c/eager/c_api.cc
} private: void* const data_; const TFE_CustomDeviceTensorHandleMethods methods_; }; } // namespace } // namespace tensorflow TFE_TensorHandle* TFE_NewCustomDeviceTensorHandle( TFE_Context* ctx, const char* device_name, TF_DataType dtype, void* data, TFE_CustomDeviceTensorHandleMethods methods, TF_Status* status) {Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0)