keras/src/layers/preprocessing/random_crop.py/RandomCrop/get_config
class RandomCrop:    def get_config(self):
        config = super().get_config()
        config.update(
            {
                "height": self.height,
                "width": self.width,
                "seed": self.seed,
                "data_format": self.data_format,
            }
        )
        return config