- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TFE_ContextSetExecutorForThread (0.67 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
TFE_DeleteContextOptions(opts); TFE_Executor* executor = TFE_NewExecutor( /*is_async=*/false, /*enable_streaming_enqueue=*/true, /*in_flight_nodes_limit=*/0); TFE_ContextSetExecutorForThread(ctx, executor); TFE_DeleteContext(ctx); TFE_DeleteExecutor(executor); } { TFE_ContextOptions* opts = TFE_NewContextOptions();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
} TFE_ContextDevicePlacementPolicy; // LINT.ThenChange(//tensorflow/c/eager/immediate_execution_context.h) // Sets the default execution mode (sync/async). Note that this can be // overridden per thread using TFE_ContextSetExecutorForThread. TF_CAPI_EXPORT extern void TFE_ContextOptionsSetAsync(TFE_ContextOptions*, unsigned char enable);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 22.8K bytes - Viewed (0) -
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)