查看pytorch版本

C:\Users\11834>python
Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> print(torch.__version__)
1.1.0

cmd 命令行
python进入python
import torch 指令
print(torch.__version__)指令

你可能感兴趣的:(python)