- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TFE_ContextDevicePlacementPolicy (0.23 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tensorflow/c/eager/c_api.h
TF_CAPI_EXPORT extern void TFE_ContextSetThreadLocalDevicePlacementPolicy( TFE_Context* ctx, TFE_ContextDevicePlacementPolicy policy); // Returns the device placement policy to be used by this context in the current // thread. TF_CAPI_EXPORT extern TFE_ContextDevicePlacementPolicy TFE_ContextGetDevicePlacementPolicy(TFE_Context* ctx);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0) -
tensorflow/c/eager/c_api_internal.h
// c_api_experimental.h struct TFE_ContextOptions { TF_SessionOptions session_options; // true if async execution is enabled. bool async = false; TFE_ContextDevicePlacementPolicy device_placement_policy{ TFE_DEVICE_PLACEMENT_SILENT}; // If true, use TFRT backend bool use_tfrt = false; // Whether to run elementary eager ops wrapped in a call op.Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 18 19:26:34 GMT 2023 - 1.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
TEST(CAPI, TensorHandleCopyBetweenTwoGPUDevicesAsync) { TensorHandleCopyBetweenTwoGPUDevices(true); } void TensorHandleSilentCopy(bool async, TFE_ContextDevicePlacementPolicy global_policy, TFE_ContextDevicePlacementPolicy thread_policy, bool cpu_op) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0)