code: def _step_lstm(lstm, x, state):
      assert isinstance(lstm, L.NStepLSTM)
      assert len(lstm.ws) == 1
      assert len(lstm.bs) == 1
      assert len(lstm.ws[0]) == 8
      assert len(lstm.bs[0]) == 8
      if state is None or state[0] is None:
          xp = lstm.xp
          h = xp.zeros((len(x), lstm.out_size), dtype=np.float32)
          c = xp.zeros((len(x), lstm.out_size), dtype=np.float32)
      else:
          h, c = state
      h, c = _lstm(x, h, c, lstm.ws[0], lstm.bs[0])
      return h, (h, c)
  
imports: import unittest
  import chainer
  from chainer import functions
  from chainer import links
  from chainer import testing
  import numpy
  from chainerrl.links import StatelessRecurrentSequential
label_desc: Use image node_id 1 for calling a global function with example usage: _step_lstm(lstm, x, state) and returns: h,  h,  c