Add padding (zeros) to an array.
The width argument is either an integer or pair of integers, in which case all axes are padded with the same width. Or if it is an array of pairs, each pair specifies the padding for its corresponding axis.
width
Add padding (zeros) to an array.
The
widthargument is either an integer or pair of integers, in which case all axes are padded with the same width. Or if it is an array of pairs, each pair specifies the padding for its corresponding axis.