查看tensorflow,pytorch是否可用GPU 2022-09-28 09:09:15 tensorflowimport tensorflowas tfprint(tf.test.is_gpu_available())pytorchimport torchprint(torch.cuda.is_available())