Skip to main content

reshape

Function reshape 

Source
pub fn reshape<B: Backend, T: Element>(
    x: &Array<B, T>,
    shape: impl Into<Shape>,
) -> Array<B, T>
Expand description

Changes the shape, keeping the elements in row-major order.