The concept of rotating a tensor

Hi all,

Could anyone please explain (theoretically) the meaning of the rotation along specific axis?

Let’s have an example of tensor of shape x=[3,16] and how if we want to rotate it along axis Y or Z.

Thanks for your help in advance.

Have a look at the Rotation Matrix Wikipedia article which gives a good overview using these matrices.
There are other approaches, e.g. quaternions, which might be a bit more complicated to get started.