Obtenez la version de la version Pytorch dans Ubuntu

python3 -c "import torch; print(torch.__version__)" # For Python 3
python -c "import torch; print(torch.__version__)" # For Python 2
Nervous Nightingale