code: def setup_method(self):
      super().setup_method()
      self.batch_size = 2
      self.hidden_dim = 2
  
      self._step_hidden_var = tf.compat.v1.placeholder(
          shape=(self.batch_size, self.hidden_dim),
          name="initial_hidden",
          dtype=tf.float32,
      )
      self._step_cell_var = tf.compat.v1.placeholder(
          shape=(self.batch_size, self.hidden_dim),
          name="initial_cell",
          dtype=tf.float32,
      )
  
      self.lstm_cell = tf.keras.layers.LSTMCell(
          units=self.hidden_dim,
          activation=tf.nn.tanh,
          kernel_initializer=tf.constant_initializer(1),
          recurrent_activation=tf.nn.sigmoid,
          recurrent_initializer=tf.constant_initializer(1),
          name="lstm_layer",
      )
  
file_path: garage/tests/garage/tf/models/test_lstm.py
imports: import numpy
  import pytest
  import tensorflow
  from garage.tf.models.lstm import lstm
  from tests.fixtures import TfGraphTestCase
  from tests.helpers import recurrent_step_lstm
label_desc: Use image node_id 1 for calling the TestLSTM obj's underlying member method code with example usage: obj.setup_method() without return types