Skip to main content

transpose_into

Function transpose_into 

Source
pub fn transpose_into<T: Copy>(
    x: &[T],
    shape: &[usize],
    perm: &[usize],
    out: &mut [T],
)
Expand description

transpose written to out (of size(shape) elements), without allocating for up to 8 dimensions.