- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetDevicePlacementPolicy (0.18 sec)
-
tensorflow/c/eager/immediate_execution_context.h
virtual void SetThreadLocalDevicePlacementPolicy( ContextDevicePlacementPolicy policy) = 0; // Returns the device placement policy for the current thread. virtual ContextDevicePlacementPolicy GetDevicePlacementPolicy() const = 0; // Configure graph collection in RunMetadata. virtual void SetShouldStoreGraphs(bool value) = 0; // Return the collected RunMetadata. This method will transfer the ownership
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
extern TFE_ContextDevicePlacementPolicy TFE_ContextGetDevicePlacementPolicy( TFE_Context* ctx) { return static_cast<TFE_ContextDevicePlacementPolicy>( tensorflow::unwrap(ctx)->GetDevicePlacementPolicy()); } TFE_TensorHandle* TFE_NewTensorHandle(const TF_Tensor* t, TF_Status* status) { tensorflow::Tensor tensor; status->status = tensorflow::TF_TensorToTensor(t, &tensor);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0)