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

Method HostCPU

tensorflow/core/common_runtime/eager/context.h:179–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 Status FindDeviceByName(const string& name, Device** result) const;
178
179 Device* HostCPU() const { return devices_[0]; }
180 Device* CanonicalDevice(Device* d) const {
181 return HostCPU() == d ? nullptr : d;
182 }

Callers 10

DeviceOrHostCPUMethod · 0.80
OnHostCPUMethod · 0.80
SelectDeviceFunction · 0.80
GetDeviceForInputFunction · 0.80
EagerLocalExecuteFunction · 0.80
MaybeUpdateOpDeviceFunction · 0.80
StartRemoteSendTensorMethod · 0.80
TFE_TensorHandleResolveFunction · 0.80
TFE_OpGetDeviceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected