Skip to main content

reshape

Function reshape 

Source
pub fn reshape(a: &Array, shape: impl IntoShape) -> Array
Expand description

The same elements in another shape (one -1 inferred); see Array::reshape.