Return a view of an input ndarray in which the order of elements along the second-to-last dimension is reversed.