- A machine learning framework that has in built code for machine learning task similarly we did in python modules where we directly imported the methods for ml, models and run our data.
- It is quite similar to numpy.
We have used the model created exported to serializable object and later used in different place to run the code. The same task is performed by TorchScript.
Pytorch supports the GPU processing where we can distribute our raw dataset into different batches and train parallelly.
INSTALLING THE PYTORCH LOCALLY
Check this link
validate installation with following code;
x = torch.rand(1,2)
for more dive into next story. https://adarsharegmi121.medium.com/pytorch-part-2-698db1731ea9