Skip to content

jadepanths/Python-PyTorch-Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-PyTorch-Tutorial

Basic PyTorch Tutorials in Python for beginners

Work in Progress

Disclaimer

This repository contains many resources I found during my study of this subject. This repository is a summary, note, resource, and information I found useful and would like to share with fellow beginners. I have no means of claiming the credits to myself, and I will be trying to cite as many things as possible.

Background and Recommendation

Mathematics

To master deeplearning and AI, according to Andrew Ng, these areas of math are the most imporant, in decreasing order:

  1. Linear Algebra
  2. Probability and Statistics
  3. Calculus (including multivariate calculus)
  4. Optimization

My recommendation is to learn basic linear algebra then basic programming.

Basic Python

There are many online classes and toturials you can find online.

This will walk you through the PyTorch installation, including installing python and a toolkit.

A neural network is a mathematical function. It takes in one or multiple inputs, process it and produces one or more outputs, In PyTorch, neural networks are composed of PyTorch tensors.

You can initialize a tensor in many ways. Here is the reference source, TENSORS.

Attributes describe their shape, datatype, and the device on which the tensor is stored.

This is where you have to be careful when comverting and modifying tensors. As they often point to the same memory address. Like a C++ pointer, when you modify one variable, another variable will be modified as well.

About

Basic PyTorch Tutorials in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published