Home
last modified time | relevance | path

Searched refs:tf_device (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Ddevice_util.py22 from tensorflow.python.framework import device as tf_device unknown
47 d = tf_device.DeviceSpec.from_string(d)
51 result = tf_device.DeviceSpec(
56 result.merge_from(tf_device.DeviceSpec.from_string(default))
Dmirrored_strategy.py39 from tensorflow.python.framework import device as tf_device unknown
70 cpu_device = tf_device.DeviceSpec.from_string(device)
71 cpu_device.merge_from(tf_device.DeviceSpec(device_type="CPU", device_index=0))
298 d_spec = tf_device.DeviceSpec().parse_from_string(d)
346 d_spec = tf_device.DeviceSpec().parse_from_string(d)
362 return tf_device.DeviceSpec().parse_from_string(device).device_type == "GPU"
397 d_spec = tf_device.DeviceSpec().parse_from_string(d)
Dtpu_strategy.py35 from tensorflow.python.framework import device as tf_device unknown
649 spec = tf_device.DeviceSpec.from_string(device)
650 return tf_device.DeviceSpec(
Dparameter_server_strategy.py35 from tensorflow.python.framework import device as tf_device unknown
374 d_spec = tf_device.DeviceSpec.from_string(d)
Dinput_lib.py31 from tensorflow.python.framework import device as tf_device unknown
139 d = tf_device.DeviceSpec.from_string(worker)
/external/tensorflow/tensorflow/python/tpu/
Dtpu_strategy_util.py26 from tensorflow.python.framework import device as tf_device unknown
44 spec = tf_device.DeviceSpec.from_string(tpu_devices[0])
Dtpu_system_metadata.py27 from tensorflow.python.framework import device as tf_device unknown
135 spec = tf_device.DeviceSpec.from_string(device.name)
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfused_batchnorm_reserve_space_test.cc97 string tf_device = absl::StrCat("/device:", test_device, ":0"); in TEST() local
101 root.WithOpName("fused_batch_norm_tf").WithDevice(tf_device), input, in TEST()
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Dvariables.py30 from tensorflow.python.framework import device as tf_device unknown
795 device_spec = tf_device.DeviceSpec(