Pads the smaller dimension of an image tensor with zeros, such that width === height.
The image tensor.
(optional, default: false) If true, add an equal amount of padding on both sides of the minor dimension oof the image.
The padded tensor with width === height.
Pads the smaller dimension of an image tensor with zeros, such that width === height.