transpose

Function transpose 

Source
pub fn transpose<I, R, T, B, D>(
    tensor: &TensorAny<R, T, B, D>,
    axes: I,
) -> TensorView<'_, T, B, D>
where D: DimAPI, I: TryInto<AxesIndex<isize>, Error = Error>, R: DataAPI<Data = B::Raw>, B: DeviceAPI<T>,
Expand description

Permutes the axes (dimensions) of an array x.

ยงSee also