tf.keras.ops.moveaxis

Move axes of a tensor to new positions.

Other axes remain in their original order.

xTensor whose axes should be reordered.
sourceOriginal positions of the axes to move. These must be unique.
destinationDestinations positions for each of the original axes. These must also be unique.

Tensor with moved axes.