[−][src]Function arrayfire::pad
pub fn pad<T: HasAfEnum>(
input: &Array<T>,
begin: Dim4,
end: Dim4,
fill_type: BorderType
) -> Array<T>
Pad input Array along borders
Parameters
input
is the input array to be paddedbegin
is padding size before first element along a given dimensionend
is padding size after the last element along a given dimensionfill_type
indicates what values should be used to fill padded regions
Return Values
Padded Array