Pytorch

  • 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.

TorchScript

Distributed Training

INSTALLING THE PYTORCH LOCALLY

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

--

--

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