keras/src/layers/reshaping/up_sampling1d.py/UpSampling1D/__init__
class UpSampling1D:    def __init__(self, size=2, **kwargs):
        super().__init__(**kwargs)
        self.size = int(size)
        self.input_spec = InputSpec(ndim=3)