- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for SetAllowSoftPlacement (0.35 seconds)
-
tensorflow/c/eager/immediate_execution_context.h
virtual const DeviceNameUtils::ParsedName& HostCPUParsedName() const = 0; virtual const string& HostCPUName() const = 0; // Configure soft device placement policy. virtual void SetAllowSoftPlacement(bool enable) = 0; // Configure device placement policy logging. virtual void SetLogDevicePlacement(bool enable) = 0; // Enables running eager ops as functions.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 12.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.cc
return tensorflow::wrap(handle); } void TFE_ContextSetSoftDevicePlacement(TFE_Context* ctx, unsigned char enable, TF_Status* status) { tensorflow::unwrap(ctx)->SetAllowSoftPlacement(enable); } void TFE_ContextSetLogDevicePlacement(TFE_Context* ctx, unsigned char enable, TF_Status* status) { tensorflow::unwrap(ctx)->SetLogDevicePlacement(enable); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 35.9K bytes - Click Count (0)