class_docstr: DEPRECATED.
class_docstr_tok: ["DEPRECATED","."]
code: def __init__(self, rate, noise_shape=None, seed=None, **kwargs):
      super().__init__(**kwargs)
      self.rate = rate
      self.seed = seed
      self.noise_shape = noise_shape
      self.seed_generator = backend.random.SeedGenerator(seed)
      self.supports_masking = True
      self.built = True
  
imports: from keras import backend
  from keras.api_export import keras_export
  from keras.layers.layer import Layer
  from keras.utils.module_utils import tensorflow
label_desc: Use image node_id 1 to create a new AlphaDropout object from inherited base classes: Layer with example: obj = AlphaDropout(rate, noise_shape, seed)