Pads an N-dimensional slice's edges with given lengths along specified dimensions and directions.
Slice
list of lengths for each dimension.
Concatenation
._concatenation examples.
Pads an N-dimensional slice's edges with given lengths along specified dimensions and directions.