Pad an array.
More...
Pad an array.
Pad the input array using a constant or values from input along border
◆ af_pad()
- Parameters
-
[out] | out | is the padded array |
[in] | in | is the input array to be padded |
[in] | begin_ndims | is size of l_dims array |
[in] | begin_dims | array contains padding size at beginning of each dimension |
[in] | end_ndims | is size of u_dims array |
[in] | end_dims | array contains padding sizes at end of each dimension |
[in] | pad_fill_type | is indicates what values should fill padded region |
◆ pad()
- Parameters
-
[in] | in | is the input array to be padded |
[in] | beginPadding | informs the number of elements to be padded at beginning of each dimension |
[in] | endPadding | informs the number of elements to be padded at end of each dimension |
[in] | padFillType | is indicates what values should fill padded region |
- Returns
- the padded array