/external/tensorflow/tensorflow/python/kernel_tests/ |
D | stage_op_test.py | 38 with ops.device(test.gpu_device_name()): 58 with ops.device(test.gpu_device_name()): 79 with ops.device(test.gpu_device_name()): 100 gpu_dev = test.gpu_device_name() 123 with ops.device(test.gpu_device_name()): 147 with ops.device(test.gpu_device_name()): 175 with ops.device(test.gpu_device_name()): 239 with ops.device(test.gpu_device_name()):
|
D | map_stage_op_test.py | 41 with ops.device(test.gpu_device_name()): 63 with ops.device(test.gpu_device_name()): 86 with ops.device(test.gpu_device_name()): 107 gpu_dev = test.gpu_device_name() 136 with ops.device(test.gpu_device_name()): 166 with ops.device(test.gpu_device_name()): 194 with ops.device(test.gpu_device_name()): 260 with ops.device(test.gpu_device_name()): 324 with ops.device(test.gpu_device_name()): 362 with ops.device(test.gpu_device_name()): [all …]
|
D | constant_op_eager_test.py | 50 device = test_util.gpu_device_name()
|
D | control_flow_ops_py_test.py | 331 with ops.device(test.gpu_device_name()): 366 with ops.device(test.gpu_device_name()): 529 with ops.device(test.gpu_device_name()): 1050 with ops.device(test.gpu_device_name()): 2883 gpu_dev_name = test.gpu_device_name() if test.is_gpu_available( 3392 with ops.device(test.gpu_device_name()): 4915 with ops.device(test.gpu_device_name()):
|
D | rnn_cell_test.py | 2443 gpu_dev = test.gpu_device_name() 2466 gpu_dev = test.gpu_device_name() 2483 gpu_dev = test.gpu_device_name() 2905 gpu_dev = test.gpu_device_name()
|
D | functional_ops_test.py | 1278 with ops.device(test.gpu_device_name() if use_gpu else "CPU:0"):
|
/external/tensorflow/tensorflow/python/platform/ |
D | test.py | 31 from tensorflow.python.framework.test_util import gpu_device_name
|
/external/tensorflow/tensorflow/python/profiler/internal/ |
D | run_metadata_test.py | 123 gpu_dev = test.gpu_device_name() 142 gpu_dev = test.gpu_device_name()
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api_test.cc | 417 string gpu_device_name; in TensorHandleSilentCopy() local 418 if (GetDeviceName(ctx, &gpu_device_name, "GPU")) { in TensorHandleSilentCopy() 420 hcpu, ctx, gpu_device_name.c_str(), status.get()); in TensorHandleSilentCopy() 436 TFE_OpSetDevice(matmul, gpu_device_name.c_str(), status.get()); in TensorHandleSilentCopy() 489 string gpu_device_name; in SetAndGetOpDevices() local 490 if (GetDeviceName(ctx, &gpu_device_name, "GPU")) { in SetAndGetOpDevices() 567 string gpu_device_name; in TEST() local 568 if (GetDeviceName(ctx, &gpu_device_name, "GPU")) { in TEST() 570 hcpu, ctx, gpu_device_name.c_str(), status.get()); in TEST() 574 TFE_OpSetDevice(shape_op, gpu_device_name.c_str(), status.get()); in TEST() [all …]
|
D | c_api_experimental_test.cc | 449 string gpu_device_name; in TEST() local 450 if (GetDeviceName(ctx, &gpu_device_name, "GPU")) { in TEST() 452 hcpu, ctx, gpu_device_name.c_str(), status.get()); in TEST() 456 TFE_OpSetDevice(shape_op, gpu_device_name.c_str(), status.get()); in TEST()
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.test.pbtxt | 28 name: "gpu_device_name"
|
/external/tensorflow/tensorflow/python/kernel_tests/v1_compat_tests/ |
D | session_ops_test.py | 152 with ops.device(test.gpu_device_name()): 186 with ops.device(test.gpu_device_name()): 212 with ops.device(test.gpu_device_name()):
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.test.pbtxt | 44 name: "gpu_device_name"
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | direct_session_test.cc | 2356 const string gpu_device_name = GPUDeviceName(session.get()); in TEST() local 2357 if (gpu_device_name.empty()) { in TEST() 2372 opts.mutable_fetch_devices()->insert({"y:0", gpu_device_name}); in TEST() 2389 opts.mutable_feed_devices()->insert({"x:0", gpu_device_name}); in TEST() 2428 const string gpu_device_name = GPUDeviceName(session.get()); in TestFeedAndFetchTensorsInDeviceMemory() local 2429 if (gpu_device_name.empty()) { in TestFeedAndFetchTensorsInDeviceMemory() 2447 opts.mutable_fetch_devices()->insert({"y:0", gpu_device_name}); in TestFeedAndFetchTensorsInDeviceMemory() 2464 opts.mutable_feed_devices()->insert({"x:0", gpu_device_name}); in TestFeedAndFetchTensorsInDeviceMemory() 2484 const string gpu_device_name = GPUDeviceName(session.get()); in TestFeedAndFetchTensorsInDeviceMemoryFailsToMakeCallable() local 2485 if (gpu_device_name.empty()) { in TestFeedAndFetchTensorsInDeviceMemoryFailsToMakeCallable() [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | matmul_benchmark.py | 119 self.run_graph(test.gpu_device_name(), n, m, k, transpose_a, transpose_b,
|
D | stateful_random_ops_test.py | 144 with ops.device(test_util.gpu_device_name()): 451 self._sameAsOldRandomOps(test_util.gpu_device_name(), GPU_FLOATS) 463 with ops.device(test_util.gpu_device_name()):
|
D | image_ops_test.py | 641 self._benchmarkFlipLeftRight(test.gpu_device_name(), None) 650 self._benchmarkRandomFlipLeftRight(test.gpu_device_name(), None) 659 self._benchmarkBatchedRandomFlipLeftRight(test.gpu_device_name(), None) 702 self._benchmarkAdjustHue(test.gpu_device_name(), None) 746 self._benchmarkAdjustSaturation(test.gpu_device_name(), None)
|
/external/tensorflow/tensorflow/python/eager/ |
D | core_test.py | 1108 gpu_device_name = '/job:localhost/replica:0/task:0/device:GPU:0' 1114 self._recv(dtypes.float32, 't0', gpu_device_name), 1116 self._send(constant_op.constant(2.0), 't1', gpu_device_name)
|
/external/tensorflow/tensorflow/compiler/xla/g3doc/tutorials/ |
D | autoclustering_xla.ipynb | 66 "assert(tf.test.gpu_device_name())\n",
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | dumping_callback_test.py | 80 gpu_name = test_util.gpu_device_name() 1344 gpu_name = test_util.gpu_device_name()
|
D | session_debug_testlib.py | 96 gpu_name = test_util.gpu_device_name() 763 if test_util.gpu_device_name():
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | analyzer_cli_test.py | 586 gpu_name = test_util.gpu_device_name() 1707 gpu_name = test_util.gpu_device_name()
|
/external/tensorflow/tensorflow/python/training/ |
D | saver_test.py | 581 with sess.graph.device(test.gpu_device_name()): 588 with sess.graph.device(test.gpu_device_name()): 598 with sess.graph.device(test.gpu_device_name()): 605 with sess.graph.device(test.gpu_device_name()):
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util.py | 130 def gpu_device_name(): function 3202 gpu_name = gpu_device_name()
|
/external/tensorflow/tensorflow/c/ |
D | c_api_test.cc | 106 const string gpu_device_name = GPUDeviceName(sess); in GPUDeviceName() local 109 return gpu_device_name; in GPUDeviceName()
|