- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TFE_ContextGetDevicePlacementPolicy (0.15 seconds)
-
tensorflow/c/eager/c_api.h
// 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); // A tensorflow.ServerDef specifies remote workers (in addition to the current // workers name). Operations created in this context can then be executed on
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.cc
// the appropriate client thread. In particular, in async mode, it may not be // safe to call this function from the async EagerExecutor threads. extern TFE_ContextDevicePlacementPolicy TFE_ContextGetDevicePlacementPolicy( TFE_Context* ctx) { return static_cast<TFE_ContextDevicePlacementPolicy>( tensorflow::unwrap(ctx)->GetDevicePlacementPolicy()); }Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0)