📅  最后修改于: 2022-03-11 14:57:20.779000             🧑  作者: Mango
代码示例2
python -c "import tensorflow as tf; print('Num GPUs Available: ', len(tf.config.experimental.list_physical_devices('GPU')))"