- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for myself (0.14 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_testlib.cc
if (TF_GetCode(status) != TF_OK) return; int num_retvals = 0; TFE_Execute(op.get(), nullptr, &num_retvals, status); if (TF_GetCode(status) != TF_OK) return; // Delete the variable handle itself. TFE_DeleteTensorHandle(handle_); } TensorHandlePtr Variable::Read(TFE_Context* context, TF_Status* status) { std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> op(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jun 15 15:44:44 GMT 2021 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
} }; using ExecutorPtr = std::unique_ptr<TFE_Executor, ExecutorDeleter>; } // namespace // Allows a single op at a time to be launched without blocking. // // DeviceThread itself is thread-safe, in that StartExecute will block if there // is a pending execution. Since StartExecute is equivalent to grabbing a lock, // multiple DeviceThreads should always be accessed in the same order to avoid // deadlocks.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1)