Duplicates inTensor elements and store result in the outTensor.
Axis specifies the number of repeats along the axis e.g:
axis(1, 1, 1): outTensor will be the same as inTensor
axis(2, 1, 2): inTesnor = [1 2 3 | 4 5 6], inShape = [3 2 1] =>
outTensor = [[1 1 2 2 3 3 | 4 4 5 5 6 6] [1 1 2 2 3 3 | 4 4 5 5 6 6]] outShape = [6 2 2]
Duplicates inTensor elements and store result in the outTensor.
Axis specifies the number of repeats along the axis e.g:
axis(1, 1, 1): outTensor will be the same as inTensor
axis(2, 1, 2): inTesnor = [1 2 3 | 4 5 6], inShape = [3 2 1] =>
outTensor = [[1 1 2 2 3 3 | 4 4 5 5 6 6] [1 1 2 2 3 3 | 4 4 5 5 6 6]] outShape = [6 2 2]