code: def __init__(
      self,
      activation_function="relu",
      number_of_lstm_cells=256,
      scheme: MiddlewareScheme = MiddlewareScheme.Medium,
      batchnorm: bool = False,
      dropout_rate: float = 0.0,
      name="middleware_lstm_embedder",
      dense_layer=None,
      is_training=False,
  ):
      super().__init__(
          parameterized_class_name="LSTMMiddleware",
          activation_function=activation_function,
          scheme=scheme,
          batchnorm=batchnorm,
          dropout_rate=dropout_rate,
          name=name,
          dense_layer=dense_layer,
          is_training=is_training,
      )
      self.number_of_lstm_cells = number_of_lstm_cells
  
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 LSTMMiddlewareParameters object from inherited base classes: MiddlewareParameters with example: obj = LSTMMiddlewareParameters(activation_function, number_of_lstm_cells, scheme, batchnorm, dropout_rate, name, dense_layer, is_training)