- transpose-tensor tensor axesprocedure
Permutes the dimensions of tensor. axes lists the source dimension of each result dimension; for example '(0 2 3 1) turns (N, C, H, W) into (N, H, W, C). The gradient is sent back through the inverse permutation.