I didn’t know it… We all know how to work with tensorflow library and make some amazing models like “cat-dog gif below” leading to great predictions 💯. But what the hell is a tensor? Maybe you know it… But I didn’t know it. Updated-Deep Learning is an attempt to copy the pattern detection ability of a human brain, the main cause of pattern detection is Neural Networks in our brain. Source What is Tensor? It is Duh… we all know it… just a general term for unit of data. It is also represented with a , like in Matrix. They are eometric objects that describe linear relations between vectors, scalars, and other tensors. Rank g geometric Updated-A tensor consists of a set of primitive values shaped into an array of any number of dimensions. But which type of data, Scalar or Vector? If you think like me, that it is an upgrade of vectors like vectors is an upgrade to scalars. Then no, you are wrong. the quantities Scalar and Vector are Tensors. Both What is a Rank or Tensor’s Rank? The used to the data is known as its Rank. number of dimensions represent How does it look? Updated- or a rank/dimension zero tensor Scalar. 5 # The shape is [] A or a . rank/dimension 1 tensor Vector [ 1., 2., 3., 4. ] # The shape is [4] A or a . This is 2D rank/dimension 2 tensor Matrix just like a photo with X axis and Y axis. Matrix of shape [ 2, 4] [ [ 1., 2., 3., 4. ], [ 5., 6., 7., 8. ] ] A or a . This is 3D Simply, it is just . rank/dimension 3 tensor Tensor just like real world with X, Y and Z axis. matrices inside a bigger matrix Tensor of shape [ 2, 1, 4 ] [ 1., 2., 3., 4. ] [ 5., 6., 7., 8. ] [ [ ] , [ ] ] This is how you can increase the dimensionality of a tensor. 😃 Tensor a mathematical object analogous to but more general than a vector, represented by an array of components that are functions of the coordinates of a space. Any comments or if you have any question, write it in the comments. I will be posting posts per week so don’t miss the tutorial. 3 So, follow me on , , , , , to see similar posts. Medium Facebook Twitter LinkedIn Google+ Quora Clap it! Share it! Follow Me! Happy to be helpful. kudos….. Previous stories you will love: Cross- Validation Code Visualization: Kind of Fun 2. Linear Regression: The Easier Way 3. DIY Arduino Wireless Keyboard 4. Activation Function Explained: Neural Networks