pub fn pad<S, A, D>(
data: &ArrayBase<S, D>,
pad: &[[usize; 2]],
mode: PadMode<A>,
) -> Array<A, D>Expand description
Pad an image.
data- A N-D array of the data to pad.pad- Number of values padded to the edges of each axis.mode- Method that will be used to select the padded values. See thePadModeenum for more information.