Skip to main content

squeeze

Function squeeze 

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

Removes dimensions of size 1: the given axes, or all of them if axes is empty. Shares the data.