Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/framework/
Dconfig_test.py356 cpus = config.list_physical_devices('CPU')
359 gpus = config.list_physical_devices('GPU')
364 cpus = config.list_physical_devices('CPU')
411 gpus = config.list_physical_devices('GPU')
414 cpus = config.list_physical_devices('CPU')
449 gpus = config.list_physical_devices('GPU')
468 gpus = config.list_physical_devices('GPU')
513 gpus = config.list_physical_devices('GPU')
538 gpus = config.list_physical_devices('GPU')
618 gpus = config.list_physical_devices('GPU')
[all …]
Dconfig.py307 def list_physical_devices(device_type=None): function
335 return context.context().list_physical_devices(device_type)
/external/tensorflow/tensorflow/python/distribute/
Dstrategy_combinations_test.py40 cpu_device = config.list_physical_devices("CPU")[0]
45 cpu_device = config.list_physical_devices("CPU")[0]
Dmulti_worker_continuous_run_test.py48 if config.list_physical_devices('GPU'):
70 gpus = config.list_physical_devices('GPU')
Dstrategy_combinations.py204 physical_devices = config.list_physical_devices("CPU")
Dmirrored_variable_test.py53 cpus = config.list_physical_devices("CPU")
Dcross_device_ops.py1244 physical_gpus = context.context().list_physical_devices(device_type="GPU")
Dmirrored_strategy_test.py1367 config.list_physical_devices("CPU")[0],
/external/tensorflow/tensorflow/python/eager/
Ddevice_placement_test.py122 gpus = config.list_physical_devices('GPU')
136 gpus = config.list_physical_devices('GPU')
Dprofiler_test.py48 if config.list_physical_devices('GPU'):
Dcontext.py951 for dev in self.list_physical_devices("GPU"):
1128 def list_physical_devices(self, device_type=None): member in Context
Dfunction_gradients_test.py56 cpus = config.list_physical_devices('CPU')
Dcore_test.py70 cpus = config.list_physical_devices('CPU')
Dfunction_test.py134 cpus = config.list_physical_devices('CPU')
/external/tensorflow/tensorflow/python/eager/benchmarks/resnet50/
Dresnet50_test_util.py27 if tf.config.list_physical_devices('GPU'):
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.config.experimental.pbtxt44 name: "list_physical_devices"
Dtensorflow.config.pbtxt60 name: "list_physical_devices"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.config.experimental.pbtxt44 name: "list_physical_devices"
Dtensorflow.config.pbtxt60 name: "list_physical_devices"
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/
Dlayer_correctness_test.py60 cpus = config_module.list_physical_devices('CPU')
/external/tensorflow/tensorflow/python/keras/utils/
Dmulti_gpu_utils_test.py46 gpu_devices = config.list_physical_devices('GPU')
/external/tensorflow/tensorflow/python/ops/
Dstateful_random_ops_test.py63 physical_devices = config.list_physical_devices("CPU")
567 if not config.list_physical_devices("XLA_CPU"):
Dcollective_ops_gpu_test.py57 gpus = config.list_physical_devices('GPU')
Dcollective_ops_test.py383 cpus = config.list_physical_devices('CPU')
/external/tensorflow/
DRELEASE.md53 …longer experimental: `tf.config.list_logical_devices`, `tf.config.list_physical_devices`, `tf.conf…