Suppose a tensor is of dimension (9,10), say it A, A.repeat(1,1) would produce same tensor as A.
Calling A.repeat(1,1,10) produces tensor of dimension 1,9,100
Again calling A.repeat(1,2,1) produces 1,18,10.
It look likes that from right to left, element wise multiplication is happening from the input of repeat