there are two ways to reverse the order of tensor and np.ndarray
np.flip(np.ndarray, axis=-1) np.ndarray[::-1]
tensor.flip(-1)