📜  gpu 训练 tensorflow - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:11.534000             🧑  作者: Mango

代码示例2
python -c "import tensorflow as tf; print('Num GPUs Available: ', len(tf.config.experimental.list_physical_devices('GPU')))"