code: def __init__(self, rate, name=None):
      super().__init__(name=name)
      self.rate = rate
      # Use seed_generator for managing RNG state.
      # It is a state element and its seed variable is
      # tracked as part of `layer.variables`.
      self.seed_generator = keras.random.SeedGenerator(1337)
  
imports: import numpy
  import keras
  from keras import Model
  from keras import initializers
  from keras import layers
  from keras import losses
  from keras import metrics
  from keras import ops
  from keras import optimizers
label_desc: Use image node_id 1 to create a new MyDropout object from inherited base classes: layers with example: obj = MyDropout(rate, name)