
There Are Not 3 But Total 5 Dimensions
We all grew up learning the same thing. 1D Line. 2D Flat shape(x,y). 3D The world we live in(x,y,z). _ That's it. 3 dimensions. End of story. _ And honestly? I never questioned it. Why would I? Then I started learning PyTorch and someone casually dropped the term "4D tensor" in a tutorial like it was nothing. I panicked a little. I thought, okay, are we doing physics now? Is this quantum stuff? Do I need to understand space-time to do machine learning? No. Turns out I just didn't know what dimensions actually meant in data. And once I got it everything clicked. Wait, What Even Is a Tensor? Before I get to the 5 dimensions thing, let me just quickly explain what a tensor is because I didn't know either. A tensor is just numbers, organized in a specific shape. That's genuinely it. One number alone → that's a scalar A row of numbers → that's a 1D tensor Rows stacked into a grid → that's a 2D tensor Grids stacked on top of each other → 3D And it keeps going... In PyTorch you'd write someth
Continue reading on Dev.to Tutorial
Opens in a new tab




