How to check current version of pytorch?

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

%d