conda create -n tf21 python=3.7 conda activate tf21 conda install tensorflow-gpu==2.1
验证
import tensorflow as tf tf.test.is_built_with_cuda()
京公网安备 11010502049817号