Answers for "how to check pytorch package"

1

get pytorch version

import torch
print(torch.__version__)
Posted by: Guest on April-26-2020
-1

mac install pytorch 3.6

conda install pytorch torchvision -c pytorch
Posted by: Guest on August-30-2020

Python Answers by Framework

Browse Popular Code Answers by Language