keras/src/legacy/layers.py/RandomHeight/get_config
class RandomHeight:    def get_config(self):
        config = {
            "factor": self.factor,
            "interpolation": self.interpolation,
            "seed": self.seed,
        }
        base_config = super().get_config()
        return {**base_config, **config}