Tensors from Scratch #1: Tensors and their Shapes | Maharshi's blog
This is a series of blog posts that will let you understand what exactly are Tensors, and how you can too implement them from scratch in C. I will be going from basic definitions, illustrations, and explanations to the actual code implementation in this series. Don't worry, I'm here to help :) Before jumping into the implementation of tensors, we first need to understand what are tensors and how can we define them. What the hell do I mean when I say the word tensor? Let's start from the beginning. Imagine a number say, This number 𝑥 is just a value and it is "dimensionless" i.e. we cannot attach any arrows to this number in the sense that tells us what this number is made up of. We call numbers like this Scalars. The dimensionality of a scalar is 0 . Note: in order to not confuse ourselves, I will refer to "dimensionality" as rank Now, imagine a list of numbers say, This list of numbers is made up of values that go from 33 , 2 , 5 , and so on. This list of numbers has a "dimensi
Tensors from Scratch #1: Tensors and their Shapes – Maharshi's blog Tensors from Scratch #1: Tensors and their Shapes 27 Jul, 2024 This is a series of blog posts that will let you understand what exactly are Tensors, and how you can too implement them from scratch in C. I will be going from basic definitions, illustrations, and explanations to the actual code implementation in this series. Don't worry, I'm here to help :) Before jumping into the implementation of tensors, we first need to understand what are tensors and how can we define them. Tensors What the hell do I mean when I say the wor
Explore this link on the map →related reading
- The Tensor: The fundamental data structure of ML - DEV Communitydev.to
- Dimension vs. Rankteamten.com
- PyTorch internals : ezyang's blogblog.ezyang.com
- Tensors — PyTorch Tutorials 2.12.0+cu130 documentationpytorch.org
- Tensor Considered Harmfulnlp.seas.harvard.edu
- Tensor product - Wikipediaen.wikipedia.org
- torch.Tensor — PyTorch 2.12 documentationdocs.pytorch.org
- 2404.17625arxiv.org
- How to Conquer Tensorphobia || Math ∩ Programmingjeremykun.com
- Tensors — PyTorch Tutorials 2.13.0+cu130 documentationdocs.pytorch.org
- An Intuitive Guide to Linear Algebra – BetterExplainedbetterexplained.com
- https://www.deeplearningbook.org/contents/linear_algebra.htmldeeplearningbook.org