Tensors in Linear Algebra

how are dimensions of Tensors taken? I couldn’t understand by the example in video.

hi @shalinijha219999
Like vectors and matrices, tensors can be represented in Python using the N-dimensional array (ndarray).

A tensor can be defined in-line to the constructor of array() as a list of lists.

so in example tensors are generated using list of list [ [],[],[] ]
similarly if we want to construct 3d tensor we can generate it using list of list of list
[ [ [ ],[ ],[ ] ],[ [ ],[ ],[ ] ], [ [ ],[ ],[ ] ] ]

yes but i couldnt understand with the help of dimemsions as given in video like (2,2,3)

hi @shalinijha219999
we are genrating tensor of
((2,3,3) ,(3,4,5))
to generate a 2d matric