MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / client_device

Method client_device

tensorflow/core/common_runtime/device_set.h:48–48  ·  view source on GitHub ↗

Returns a pointer to the device designated as the "client".

Source from the content-addressed store, hash-verified

46
47 // Returns a pointer to the device designated as the "client".
48 Device* client_device() const { return client_device_; }
49
50 // Return the list of devices in this set.
51 const std::vector<Device*>& devices() const { return devices_; }

Callers 6

CreateExecutorsMethod · 0.80
ColocationGraphMethod · 0.80
LookupDeviceFunction · 0.80
PruneGraphMethod · 0.80
CreateSessionMethod · 0.80
ListDevicesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected