I have the following question
lets say I have a three dimensional tensor [8192,64,1] which is basically, a tensor of 8192 blocks of size 64 by 1… and 8192 is 16 times 512.
eg : [[A]
[B]
[C]
…
[Z]8192 such blocks] and [A],[B] etc… are each 64 by 1 in shape
I want reshape the above framework as follows
[[A] [B] [C] … upto 512  columns
…
…        [Z] upto 16  rows]
So the new reshaped tensor would be having 512 columns and 16 rows of such 64 by 1 blocks
In other words, the ultimate shape of the matrix should be 1024 by 512 (1024 because the rows are 16 and the number of elements in each row is 64.
The other constraint is I don’t want to use for loops to achieve this objective.
I am unsure how to proceed with this. Please Help!!