class_docstr: Tests :class:`~texar.tf.modules.decoders.rnn_decoders.BasicRNNDecoder`.
      
class_docstr_tok: ["Tests",":","class",":","`","~texar.tf.modules.decoders.rnn_decoders.BasicRNNDecoder","`","."]
code: def setUp(self):
      tf.test.TestCase.setUp(self)
      self._batch_size = 16
      self._vocab_size = 4
      self._start_tokens = [self._vocab_size - 2] * self._batch_size
      self._end_token = self._vocab_size - 1
      self._max_time = 8
      self._emb_dim = 100
      self._inputs = tf.random_uniform(
          [self._batch_size, self._max_time, self._emb_dim],
          maxval=1.0,
          dtype=tf.float32,
      )
      self._embedding = tf.random_uniform(
          [self._vocab_size, self._emb_dim],
          maxval=1.0,
          dtype=tf.float32,
      )
      self._max_seq_length = 10
  
file_path: texar/tests/modules/decoders/rnn_decoder_helpers_test.py
imports: import tensorflow
  from texar.tf.modules.decoders.rnn_decoder_helpers import SoftmaxEmbeddingHelper, GumbelSoftmaxEmbeddingHelper
  from texar.tf.modules.decoders.tf_helpers import GreedyEmbeddingHelper
  from texar.tf.modules.decoders.rnn_decoders import BasicRNNDecoder
  from texar.tf.modules.embedders.embedders import WordEmbedder
  from texar.tf.modules.embedders.position_embedders import PositionEmbedder
label_desc: Use image node_id 1 for calling the HelpersTest obj's underlying member method code with example usage: obj.setUp() without return types