|View source on GitHub|
Return a list of physical devices visible to the host runtime.
See Migration guide for more details.
tf.config.list_physical_devices( device_type=None )
Used in the notebooks
|Used in the guide||Used in the tutorials|
Physical devices are hardware devices present on the host machine. By default all discovered CPU and GPU devices are considered visible.