Skip to main content

padded

Function padded 

Source
pub fn padded(
    shape: &[usize],
    widths: &[(usize, usize)],
) -> Result<Vec<usize>, Error>
Expand description

The lengths of shape with widths added before and after each axis.