code: def __init__(
      self, prenet_type, prenet_dropout, units, bias, **kwargs
  ):
      super(Prenet, self).__init__(**kwargs)
      self.prenet_type = prenet_type
      self.prenet_dropout = prenet_dropout
      self.linear_layers = []
      if prenet_type == "bn":
          self.linear_layers += [
              LinearBN(unit, use_bias=bias, name=f"linear_layer_{idx}")
              for idx, unit in enumerate(units)
          ]
      elif prenet_type == "original":
          self.linear_layers += [
              Linear(unit, use_bias=bias, name=f"linear_layer_{idx}")
              for idx, unit in enumerate(units)
          ]
      else:
          raise RuntimeError(" [!] Unknown prenet type.")
      if prenet_dropout:
          self.dropout = keras.layers.Dropout(rate=0.5)
  
imports: import tensorflow
  from tensorflow import keras
  from tensorflow.python.ops import math_ops
label_desc: Use image node_id 1 to create a new Prenet object from inherited base classes: keras.layers with example: obj = Prenet(prenet_type, prenet_dropout, units, bias)