code: def __init__(
      self,
      parameterized_class_name: str,
      activation_function: str = "relu",
      scheme: Union[List, MiddlewareScheme] = MiddlewareScheme.Medium,
      batchnorm: bool = False,
      dropout_rate: float = 0.0,
      name="middleware",
      dense_layer=None,
      is_training=False,
  ):
      super().__init__(dense_layer=dense_layer)
      self.activation_function = activation_function
      self.scheme = scheme
      self.batchnorm = batchnorm
      self.dropout_rate = dropout_rate
      self.name = name
      self.is_training = is_training
      self.parameterized_class_name = parameterized_class_name
  
file_path: coach/rl_coach/architectures/middleware_parameters.py
imports: from typing import List, Type, Union
  from rl_coach.base_parameters import MiddlewareScheme, NetworkComponentParameters
label_desc: Use image node_id 1 to create a new MiddlewareParameters object from inherited base classes: NetworkComponentParameters with example: obj = MiddlewareParameters(parameterized_class_name, activation_function, scheme, batchnorm, dropout_rate, name, dense_layer, is_training)