Understanding Contiguous vs Non-Contiguous Tensors in PyTorch

13 mins read Tensor and View View uses the same data chunk from the original tensor, just a different way to ‘view’ its […]

Minimal PyTorch LSTM example for regression and classification tasks

10 mins read The Idea Behind RNNs Recurrent neural networks in general maintain state information about data previously passed through the network. This […]

A complete guide to writing custom Datasets and DataLoader in PyTorch

19 mins read Table of Contents An Introduction To PyTorch Dataset and DataLoaderWhy Write Good Data Loaders and Datasets?The Basic PyTorch Dataset StructureImplementing […]

Steps to setup Pytorch with GPU for NVIDIA GTX 960m (Asus VivoBook n552vw) in Ubuntu 16.4

2 mins read In this post, I’m gonna describe the steps I used to make Pytorch use GPU on my laptop. Generally, you […]

Understanding Gated Recurrent Unit (GRU) with PyTorch code

21 mins read The Gated Recurrent Unit (GRU) is the younger sibling of the more popular Long Short-Term Memory (LSTM) network, and also a […]

Understanding Long Short-Term Memory Networks (LSTM) with PyTorch codes

24 mins read LSTMs are a particular variant of RNNs, therefore having a grasp of the concepts surrounding RNNs will significantly aid your […]

Recurrent Neural Networks (RNN) with PyTorch

22 mins read Recurrent Neural Networks(RNNs) have been the answer to most problems dealing with sequential data and Natural Language Processing(NLP) problems for […]

A tutorial on Transfer Learning using PyTorch

21 mins read Overview The art of transfer learning could transform the way you build machine learning and deep learning models Learn how […]

Learn PyTorch basics step by step

29 mins read Introduction PyTorch is the fastest-growing Deep Learning framework and it is also used by Fast.ai in its MOOC, Deep Learning for Coders, and its library. PyTorch is also […]

PyTorch Graphs, Automatic Differentiation, and Autograd

14 mins read Table of content: Understanding Graphs, Automatic Differentiation, and AutogradBuilding Your First Neural NetworkGoing Deep with PyTorchMemory Management and Using Multiple […]

PyTorch Quick Tutorial

23 mins read Overview What is PyTorch? How can you get started with it from scratch? We’ll cover all of that in this […]