Home
last modified time | relevance | path

Searched refs:get_visible_devices (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dconfig.py379 def get_visible_devices(device_type=None): function
406 return context.context().get_visible_devices(device_type)
Dconfig_test.py417 self.assertEqual(len(config.get_visible_devices('CPU')), 1)
418 self.assertGreater(len(config.get_visible_devices('GPU')), 0)
423 self.assertEqual(len(config.get_visible_devices('XLA_GPU')), 0)
426 self.assertEqual(len(config.get_visible_devices('CPU')), 1)
427 self.assertEqual(len(config.get_visible_devices('GPU')), 0)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.config.experimental.pbtxt36 name: "get_visible_devices"
Dtensorflow.config.pbtxt52 name: "get_visible_devices"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.config.experimental.pbtxt36 name: "get_visible_devices"
Dtensorflow.config.pbtxt52 name: "get_visible_devices"
/external/tensorflow/tensorflow/python/eager/
Dcontext.py1202 def get_visible_devices(self, device_type=None): member in Context
/external/tensorflow/
DRELEASE.md53 …st_logical_devices`, `tf.config.list_physical_devices`, `tf.config.get_visible_devices`, `tf.confi…