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