code: def test_pass_initial_state(self):
      sequence = np.arange(24).reshape((2, 4, 3)).astype("float32")
      initial_state = [
          np.arange(4).reshape((2, 2)).astype("float32"),
          np.arange(4).reshape((2, 2)).astype("float32"),
      ]
      layer = layers.LSTM(
          2,
          kernel_initializer=initializers.Constant(0.01),
          recurrent_initializer=initializers.Constant(0.02),
          bias_initializer=initializers.Constant(0.03),
      )
      output = layer(sequence, initial_state=initial_state)
      self.assertAllClose(
          np.array([[0.20574439, 0.3558822], [0.64930826, 0.66276]]),
          output,
      )
  
      layer = layers.LSTM(
          2,
          kernel_initializer=initializers.Constant(0.01),
          recurrent_initializer=initializers.Constant(0.02),
          bias_initializer=initializers.Constant(0.03),
          go_backwards=True,
      )
      output = layer(sequence, initial_state=initial_state)
      self.assertAllClose(
          np.array([[0.13281618, 0.2790356], [0.5839337, 0.5992567]]),
          output,
      )
  
file_path: keras/keras/layers/rnn/lstm_test.py
imports: import numpy
  import pytest
  from absl.testing import parameterized
  from keras import initializers
  from keras import layers
  from keras import testing
label_desc: Use image node_id 4 for calling the LSTMTest obj's underlying member method code with example usage: obj.test_pass_initial_state() without return types