How does Tensor construct n-dimensional array from the data array?

#1

In Tensor type, we have data and shape. How does Tensor construct n-dimensional array from the data array? For example, data = [1,2,3,4,5,6,7,8,9,10,11,12], shape = [2,3,2]. What does the ndarray look like?

0 Likes