Skip to main content

reshape

Function reshape 

Source
pub fn reshape(a: &Array, shape: &[isize]) -> Result<Array>
Expand description

The same elements in another shape; one dimension may be -1 (inferred). Shares the data when the layout permits, otherwise copies.