Answers for "get pytorch version version in ubuntu"

0

get pytorch version version in ubuntu

python3 -c "import torch; print(torch.__version__)" # For Python 3
python -c "import torch; print(torch.__version__)" # For Python 2
Posted by: Guest on September-16-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language