- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for HostCPUParsedName (0.11 sec)
-
tensorflow/c/eager/immediate_execution_context.h
virtual core::RefCountPtr<FunctionRecord> FindRecord( const string& name) const = 0; // Return the ParsedName of Host CPU device. virtual const DeviceNameUtils::ParsedName& HostCPUParsedName() const = 0; virtual const string& HostCPUName() const = 0; // Configure soft device placement policy. virtual void SetAllowSoftPlacement(bool enable) = 0;
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_experimental.cc
} void TFE_HostAddressSpace(TFE_Context* ctx, TF_Buffer* buf) { auto address_space = tensorflow::DeviceNameUtils::AddressSpace( tensorflow::unwrap(ctx)->HostCPUParsedName()); auto str = tensorflow::DeviceNameUtils::ParsedNameToString(address_space); void* data = tensorflow::port::Malloc(str.length()); str.copy(static_cast<char*>(data), str.length(), 0); buf->data = data;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 35.9K bytes - Viewed (0)