Home
last modified time | relevance | path

Searched refs:handle_device (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dsession_ops.py214 handle_device = TensorHandle._get_device_name(handle)
215 with ops.device(handle_device):
239 handle_device = TensorHandle._get_device_name(handle)
240 with ops.device(handle_device):
260 handle_device = TensorHandle._get_device_name(handle)
261 with graph.as_default(), graph.device(handle_device):
275 handle_device = TensorHandle._get_device_name(handle)
276 if feeder.op.device == handle_device:
296 handle_device = TensorHandle._get_device_name(handle)
297 with graph.as_default(), graph.device(handle_device):
Dresource_variable_ops.py265 def __init__(self, handle, handle_device): argument
271 self._handle_device = handle_device
436 handle=self._handle, handle_device=self._handle.device)
Dsummary_ops_v2.py295 handle=self._resource, handle_device="cpu:0")
Ddata_flow_ops.py1354 handle=accumulator_ref, handle_device=context.context().device_name)
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dexecute.cc107 int i, Device* handle_device, in CopyInputToExpectedDevice() argument
111 DCHECK(expected_input_device != handle_device); in CopyInputToExpectedDevice()
136 handle_device->name(), " (operation running on ", op_device_name, ")", in CopyInputToExpectedDevice()
145 << " but is actually on " << handle_device->name() in CopyInputToExpectedDevice()
158 return absl::StrCat("_Send input ", i, " from ", handle_device->name(), in CopyInputToExpectedDevice()
169 absl::StrCat("Failed copying input tensor from ", handle_device->name(), in CopyInputToExpectedDevice()
216 Device* handle_device = handle->DeviceOrHostCPU(*ctx); in ValidateInputTypeAndPlacement() local
220 if (expected_device != handle_device && maybe_copy) { in ValidateInputTypeAndPlacement()
222 handle, i, handle_device, in ValidateInputTypeAndPlacement()
875 Device* handle_device = handle->DeviceOrHostCPU(ctx); in EagerRemoteExecute() local
[all …]
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dthreadpool.py55 handle=self._resource, handle_device=context.context().device_name)
/external/tensorflow/tensorflow/python/data/ops/
Dmulti_device_iterator_ops.py262 handle_device=self._source_device)