- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TFE_ContextSetExecutorForThread (0.15 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
int expected_max_outputs, std::vector<TensorHandlePtr>* outputs, TF_Status* status) const { if (op_ == nullptr) { TFE_ContextSetExecutorForThread(context, executor_.get()); op_.reset(TFE_NewOp(context, operation_name, status)); if (TF_GetCode(status) != TF_OK) return; TFE_OpSetDevice(op_.get(), device_.c_str(), status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 25.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
status->status = executor->executor()->WaitForAllPendingNodes(); } void TFE_ExecutorClearError(TFE_Executor* executor) { executor->executor()->ClearError(); } void TFE_ContextSetExecutorForThread(TFE_Context* ctx, TFE_Executor* executor) { tensorflow::unwrap(ctx)->SetExecutorForThread(executor->executor()); } TFE_Executor* TFE_ContextGetExecutorForThread(TFE_Context* ctx) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 35.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// Sets a custom Executor for the current thread. All nodes created by this // thread will be added to this Executor. It will override the current executor. TF_CAPI_EXPORT extern void TFE_ContextSetExecutorForThread(TFE_Context*, TFE_Executor*); // Returns the Executor for the current thread. TF_CAPI_EXPORT extern TFE_Executor* TFE_ContextGetExecutorForThread(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0)