function pad4d_(x, paddings, constantValue = 0) {
    (0, _util.assert)(paddings.length === 4 && paddings[0].length === 2 && paddings[1].length === 2 && paddings[2].length === 2 && paddings[3].length === 2, ()=>"Invalid number of paddings. Must be length of 2 each.");
    return (0, _pad.pad)(x, paddings, constantValue);
}
Pads a `tf.Tensor4D` with a given value and paddings. See `pad` for details.