How to check current version of pytorch?

This image has an empty alt attribute; its file name is image-1024x321.png

To check the current version of PyTorch please execute the below command…

import torch

torch.__version__

check current version of pytorch

Cheers!!

Logistic Regression Machine Learning Algorithm from Scratch in Python
Gradient Descent Machine Learning Algorithm from Scratch in Python

Leave a Reply