code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
  
      lstm = keras.layers.LSTM(
          units=self.params.hidden_nodes,
          activation="tanh",
          recurrent_activation="sigmoid",
          recurrent_dropout=0,
          unroll=False,
          use_bias=True,
          return_sequences=True,
          unit_forget_bias=True,
          name="lstm",
      )
      self.lstm = keras.layers.Bidirectional(
          lstm,
          name="bidirectional",
          merge_mode=self.params.merge_mode,
      )
  
file_path: calamari/calamari_ocr/ocr/model/layers/bilstm.py
imports: from dataclasses import dataclass
  from typing import Type
  from paiargparse import pai_dataclass
  from tensorflow import keras
  from calamari_ocr.ocr.model.layers.layer import LayerParams, Layer
label_desc: Use image node_id 1 to create a new BiLSTMLayer object from inherited base classes: Layer with example: obj = BiLSTMLayer()