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

Method GetNameFor

tensorflow/compiler/jit/device_util.h:113–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 bool IsCpu(DeviceId device) const { return is_cpu_[device.id()]; }
112
113 absl::string_view GetNameFor(DeviceId device) const {
114 return names_[device.id()];
115 }
116
117 xla::StatusOr<DeviceId> GetIdFor(absl::string_view name);
118

Calls 1

idMethod · 0.45

Tested by 2

PickDeviceHelperFunction · 0.64