keras/src/layers/regularization/spatial_dropout.py/BaseSpatialDropout/get_config
class BaseSpatialDropout:    def get_config(self):
        return {
            "rate": self.rate,
            "seed": self.seed,
            "name": self.name,
            "dtype": self.dtype,
        }