keras/src/layers/reshaping/up_sampling2d.py/UpSampling2D/get_config
class UpSampling2D:    def get_config(self):
        config = {
            "size": self.size,
            "data_format": self.data_format,
            "interpolation": self.interpolation,
        }
        base_config = super().get_config()
        return {**base_config, **config}