reverse axes on output instead of input