import tensorflow as tf gpus = tf.config.experimental.list_physical_devices(\'GPU\') for gpu in gpus: print("Name:", gpu.name, " Type:", gp