Home
last modified time | relevance | path

Searched refs:data_device (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/data/kernel_tests/
Dplacement_test.py194 data_device = test_ops.device_placement_op()
195 self.assertIn(b"GPU:0", self.evaluate(data_device))
225 data_device = test_ops.device_placement_op()
226 self.assertIn(b"GPU:0", self.evaluate(data_device))
/external/tensorflow/tensorflow/compiler/xla/python/
Djax_jit.cc962 xla::PjRtDevice* data_device = nullptr; in ConvertArgsToBuffers() local
964 data_device = default_device; in ConvertArgsToBuffers()
990 if (data_device && (device != data_device)) { in ConvertArgsToBuffers()
994 device->DebugString(), " and ", data_device->DebugString())); in ConvertArgsToBuffers()
996 data_device = device; in ConvertArgsToBuffers()
1001 if (!data_device) { in ConvertArgsToBuffers()
1003 data_device = default_device; in ConvertArgsToBuffers()
1005 CHECK(data_device); in ConvertArgsToBuffers()
1006 arguments.signature.device = data_device; in ConvertArgsToBuffers()
1010 DevicePut(arg, data_device, jax_enable_x64, pyclient)); in ConvertArgsToBuffers()