Symmetrically pads a slice with given lengths along specified dimensions and directions.
Slice
list of lengths for each dimension. Each length must be less or equal to the corresponding slice length.
Concatenation
._concatenation examples.
Symmetrically pads a slice with given lengths along specified dimensions and directions.