如何查看pytorch的版本信息?
在命令行进行python环境,然后输入代码:
import torch
print(torch.__version__)
就可以打印出来这个pytorch的版本信息了。