Home
last modified time | relevance | path

Searched refs:list_logical_devices (Results 1 – 25 of 31) sorted by relevance

12

/external/tensorflow/tensorflow/python/eager/
Dremote_cloud_tpu_test.py64 [device.name for device in config.list_logical_devices()])
80 [device.name for device in config.list_logical_devices()])
Dwrap_function_device_test.py63 devices = config.list_logical_devices(device_type=device_type)
Dcore_test.py355 with ctx.device(ctx.list_logical_devices('CPU')[0]):
360 gpus = ctx.list_logical_devices('GPU')
375 cpus = ctx.list_logical_devices('CPU')
/external/tensorflow/tensorflow/python/framework/
Dconfig_test.py396 vcpus = config.list_logical_devices('CPU')
448 self.assertEqual(len(config.list_logical_devices('XLA_GPU')), 0)
513 logical_devices = config.list_logical_devices()
538 logical_gpus = config.list_logical_devices('GPU')
584 logical_gpus = config.list_logical_devices('GPU')
702 gpus = config.list_logical_devices('GPU')
707 gpus = config.list_logical_devices('GPU')
725 gpus = config.list_logical_devices('GPU')
Dconfig.py422 def list_logical_devices(device_type=None): function
452 return context.context().list_logical_devices(device_type=device_type)
/external/tensorflow/tensorflow/python/distribute/
Dremote_mirrored_strategy_eager_test.py30 gpus = context.context().list_logical_devices("GPU")
Ddevice_util.py63 config.list_logical_devices("CPU")[0].name)
Dmirrored_strategy.py176 devices = config.list_logical_devices("GPU")
179 return devices or config.list_logical_devices("CPU")
Dcross_device_ops.py1393 logical_gpus = context.context().list_logical_devices(device_type="GPU")
1400 machine_devices = context.context().list_logical_devices()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.config.pbtxt60 name: "list_logical_devices"
Dtensorflow.config.experimental.pbtxt64 name: "list_logical_devices"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.config.pbtxt60 name: "list_logical_devices"
Dtensorflow.config.experimental.pbtxt64 name: "list_logical_devices"
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dloss_scale_benchmark.py140 num_gpus = len(config.list_logical_devices('GPU'))
/external/tensorflow/tensorflow/python/tpu/
Dtpu_system_metadata.py80 logical_devices = config.list_logical_devices()
/external/tensorflow/tensorflow/python/keras/layers/
Dembeddings.py140 if context.executing_eagerly() and tf_config.list_logical_devices('GPU'):
Drecurrent_v2.py410 if config.list_logical_devices('GPU'):
527 (device_type is None and config.list_logical_devices('GPU'))) and
1136 if config.list_logical_devices('GPU'):
1255 (device_type is None and config.list_logical_devices('GPU'))) and
/external/tensorflow/tensorflow/python/keras/layers/legacy_rnn/
Drnn_cell_impl.py434 if context.executing_eagerly() and tf_config.list_logical_devices("GPU"):
543 if context.executing_eagerly() and tf_config.list_logical_devices("GPU"):
719 if context.executing_eagerly() and tf_config.list_logical_devices("GPU"):
925 if context.executing_eagerly() and tf_config.list_logical_devices("GPU"):
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/tpu/
Dtpu_cluster_resolver.py368 d for d in framework_config.list_logical_devices()
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/
Dcluster_resolver.py45 logical_devices = config.list_logical_devices()
/external/tensorflow/tensorflow/python/kernel_tests/random/
Dstateless_random_ops_test.py55 devices = config.list_logical_devices(device_type)
60 config.list_logical_devices())
/external/tensorflow/tensorflow/compiler/tests/
Dstateless_random_ops_test.py56 if config.list_logical_devices('TPU'):
/external/tensorflow/tensorflow/python/ops/numpy_ops/g3doc/
DTensorFlow_Numpy_Distributed_Image_Classification.ipynb101 " devices = tf.config.list_logical_devices('GPU')\n",
107 " devices = tf.config.list_logical_devices('CPU')\n",
DTensorFlow_NumPy_Keras_and_Distribution_Strategy.ipynb231 "gpus = tf.config.list_logical_devices(\"GPU\")\n",
/external/tensorflow/tensorflow/python/kernel_tests/
Ddynamic_partition_op_test.py355 device_list = config.list_logical_devices("GPU")

12