keras/src/layers/preprocessing/rescaling.py/Rescaling/get_config
class Rescaling:    def get_config(self):
        base_config = super().get_config()
        config = {
            "scale": self.scale,
            "offset": self.offset,
        }
        return {**base_config, **config}