- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TFE_TensorHandleCopyToDevice (0.14 sec)
-
tensorflow/c/eager/c_api_test.cc
// Copy to device TFE_TensorHandle* hdevice = TFE_TensorHandleCopyToDevice(hcpu, ctx, name.c_str(), status.get()); if (TF_GetCode(status.get()) != TF_OK) { ADD_FAILURE() << tag << " -- " << TF_Message(status.get()); continue; } // Copy from device to the same device. TFE_TensorHandle* hdevice2 = TFE_TensorHandleCopyToDevice(hdevice, ctx, name.c_str(), status.get());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0)