When we are install some python packages, we may need to know what the installed torch version is. In this tutorial, we will introduce you how to check.
How to check torch version you have installed?
It is easy to check, here is an example code:
import torch print(torch.__version__)
Run this code, you may see:
1.7.0+cpu
It means we have installed pytorch 1.7.0+cpu version.