code: def test_rnn(self):
      self.start_tests(name="rnn")
  
      states = dict(
          type="float", shape=(3,), min_value=1.0, max_value=2.0
      )
      network = [dict(type="rnn", cell="gru", size=8, horizon=2)]
      self.unittest(states=states, policy=network)
  
      network = [dict(type="lstm", size=7, horizon=1)]
      self.unittest(states=states, policy=network)
  
file_path: tensorforce/test/test_layers.py
imports: import unittest
  from test.unittest_base import UnittestBase
label_desc: Use image node_id 12 for calling the TestLayers obj's underlying member method code with example usage: obj.test_rnn() without return types