code: def call(self, enc_inp, training=False):
      enc_states = None
      for encoder in self.encoder_lstm:
          enc_out, *enc_states = encoder(
              enc_inp, training=training, initial_state=enc_states
          )
          enc_inp = enc_out
      return enc_states
  
imports: import numpy
  import tensorflow
  from tensorflow.keras import backend
  from bigdl.nano.tf.keras import Model
  from tensorflow.keras.layers import LSTM, Dense, Lambda, Reshape, Layer, Input
label_desc: Use image node_id 2 for calling the Encoder obj's underlying member method code with example usage: obj.call(enc_inp, training) and returns: enc_states