keras/src/ops/numpy.py/Pad/__init__
class Pad:    def __init__(self, pad_width, mode="constant"):
        super().__init__()
        self.pad_width = self._process_pad_width(pad_width)
        self.mode = mode