Pads a tensor with a given value and paddings.
the input tensor
an array prescribing how much to pad [before, after] along each tensor axis
Optional
(optional) the pad value to use
the padded tensor
Pads a tensor with a given value and paddings.