keras/src/layers/regularization/spatial_dropout.py/SpatialDropout2D/__init__
class SpatialDropout2D:    def __init__(
        self, rate, data_format=None, seed=None, name=None, dtype=None
    ):
        super().__init__(rate, seed=seed, name=name, dtype=dtype)
        self.data_format = backend.standardize_data_format(data_format)
        self.input_spec = InputSpec(ndim=4)