Home
last modified time | relevance | path

Searched refs:resource_device (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/eager/
Dtensor_handle.h63 Device* resource_device, DataType dtype, EagerContext* ctx);
68 Device* op_device, Device* resource_device, EagerContext* ctx);
86 tensorflow::Device* resource_device() const { return resource_device_; } in resource_device() function
Dtensor_handle.cc63 Device* resource_device, DataType dtype, in TensorHandle() argument
70 resource_device_(resource_device), in TensorHandle()
84 Device* op_device, Device* resource_device, in TensorHandle() argument
90 resource_device_(resource_device), in TensorHandle()
Dexecute.cc827 Device* resource_device = tensor_handle->resource_device(); in MaybeUpdateOpDevice() local
830 << " input device = " << resource_device->name() in MaybeUpdateOpDevice()
837 if (resource_device != op_device || op->Device() == nullptr) { in MaybeUpdateOpDevice()
838 VLOG(1) << (resource_device != op_device ? "Changing " : "Setting ") in MaybeUpdateOpDevice()
840 << resource_device->name() << " because input #" << i in MaybeUpdateOpDevice()
842 op->SetDevice(resource_device); in MaybeUpdateOpDevice()