Pytorch

  • It is quite similar to numpy.

TorchScript

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.

Distributed Training

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;

import torch
x = torch.rand(1,2)
print(x)
screenshot for code running

for more dive into next story. https://adarsharegmi121.medium.com/pytorch-part-2-698db1731ea9

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store