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