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

Method OutputDevice

tensorflow/core/common_runtime/eager/kernel_and_device.cc:414–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414tensorflow::Device* KernelAndDeviceOp::OutputDevice(int idx) const {
415 if (kernel_->output_memory_types()[idx] == HOST_MEMORY) {
416 return nullptr;
417 }
418 return device_;
419}
420
421tensorflow::Device* KernelAndDeviceFunc::OutputDevice(int idx) const {
422 if (output_dtypes_[idx] == DT_RESOURCE) {

Callers 2

EagerLocalExecuteFunction · 0.80
EagerKernelExecuteFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected