reverse_axes

Function reverse_axes 

Source
pub fn reverse_axes<R, T, B, D>(
    tensor: &TensorBase<Storage<R, T, B>, D>,
) -> TensorBase<Storage<DataRef<'_, <B as DeviceRawAPI<T>>::Raw>, T, B>, D>
where D: DimAPI, R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, B: DeviceAPI<T>,
Expand description

Reverse the order of elements in an array along the given axis.