- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TFE_TensorHandleDeviceID (0.2 sec)
-
tensorflow/c/eager/c_api_experimental.cc
if (h == nullptr) { status->status = tensorflow::errors::InvalidArgument("Invalid handle"); return nullptr; } return tensorflow::unwrap(h)->DeviceType(&status->status); } int TFE_TensorHandleDeviceID(TFE_TensorHandle* h, TF_Status* status) { if (h == nullptr) { status->status = tensorflow::errors::InvalidArgument("Invalid handle"); return -1; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/eager/c_api_experimental.h
TF_CAPI_EXPORT extern const char* TFE_TensorHandleDeviceType( TFE_TensorHandle* h, TF_Status* status); // Returns the device ID of the operation that produced `h`. TF_CAPI_EXPORT extern int TFE_TensorHandleDeviceID(TFE_TensorHandle* h, TF_Status* status); // Returns the status for the tensor handle. In TFRT, a tensor handle can carry
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0)