class_docstr: Tests the UnidirectionalRNNEncoder class.
class_docstr_tok: ["Tests","the","UnidirectionalRNNEncoder","class","."]
code: def setUp(self):
      super(UnidirectionalRNNEncoderTest, self).setUp()
      tf.logging.set_verbosity(tf.logging.INFO)
      self.batch_size = 4
      self.sequence_length = 16
      self.input_depth = 10
      self.mode = tf.contrib.learn.ModeKeys.TRAIN
      self.params = (
          rnn_encoder.UnidirectionalRNNEncoder.default_params()
      )
      self.params["rnn_cell"]["cell_params"]["num_units"] = 32
      self.params["rnn_cell"]["cell_class"] = "BasicLSTMCell"
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import tensorflow
  import numpy
  from seq2seq.encoders import rnn_encoder
label_desc: Use image node_id 1 for calling the UnidirectionalRNNEncoderTest obj's underlying member method code with example usage: obj.setUp() without return types