class_docstr: Tests the get_rnn_cell function.
    
class_docstr_tok: ["Tests","the","get_rnn_cell","function","."]
code: def test_extra_args(self):
      # Invalid args should raise a ValueError
      with self.assertRaises(ValueError):
          training_utils.get_rnn_cell(
              cell_class="LSTMCell",
              cell_params={"num_units": 16, "use_peepholesERROR": True},
              num_layers=1,
          )
  
      cell = training_utils.get_rnn_cell(
          cell_class="LSTMCell",
          cell_params={
              "num_units": 8,
              "use_peepholes": True,
              "forget_bias": 0.5,
          },
          num_layers=1,
      )
      self.assertIsInstance(cell, tf.contrib.rnn.LSTMCell)
      # pylint: disable=E1101,W0212
      self.assertEqual(cell._use_peepholes, True)
      self.assertEqual(cell._forget_bias, 0.5)
      self.assertEqual(cell.output_size, 8)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import tempfile
  import tensorflow
  import numpy
  from seq2seq.contrib import rnn_cell
  from seq2seq.data import input_pipeline
  from seq2seq.test import utils
  from seq2seq.training import utils
label_desc: Use image node_id 5 for calling the TestGetRNNCell obj's underlying member method code with example usage: obj.test_extra_args() without return types