Skip to main content

pad

Function pad 

Source
pub fn pad<T: Copy>(
    x: &[T],
    shape: &[usize],
    value: T,
    config: &[(i64, i64, usize)],
) -> Vec<T>
Expand description

pad: for each dimension, (low, high, interior) padding with value. Negative low or high removes elements.