class_docstr: Base class for recurrent layer tests. Masking param not included here
class_docstr_tok: ["Base","class","for","recurrent","layer","tests",".","Masking","param","not","included","here"]
code: def setUp(self):
      self.params_dict = dict(
          input_dims=[
              [1, 1, 1],
              [1, 1, 5],
              [1, 1, 10],
          ],  # [1, x > 1, y] not added
          output_dim=[1, 5, 10, 20],
          stateful=[False, True],
          go_backwards=[False],  # True],
          unroll=[False, True],
          return_sequences=[False, True],
          activation=["sigmoid", "tanh", "hard_sigmoid", "linear"],
      )
      self.base_layer_params = list(
          itertools.product(*self.params_dict.values())
      )
  
imports: import unittest
  import numpy
  import os
  import shutil
  import tempfile
  import itertools
  import coremltools
  from coremltools._deps import _HAS_KERAS_TF, _HAS_KERAS2_TF
  from coremltools.models.utils import _macos_version, _is_macos
  import pytest
label_desc: Use image node_id 1 for calling the RecurrentLayerTest obj's underlying member method code with example usage: obj.setUp() without return types