class_docstr: Tests :class:`~texar.tf.modules.decoders.rnn_decoders.AttentionRNNDecoder`.
      
code: def setUp(self):
      tf.test.TestCase.setUp(self)
      self._vocab_size = 10
      self._max_time = 16
      self._batch_size = 8
      self._emb_dim = 20
      self._attention_dim = 256
      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._encoder_output = tf.random_uniform(
          [self._batch_size, self._max_time, 64]
      )
  
imports: import numpy
  import tensorflow
  from texar.tf.modules.decoders.rnn_decoders import BasicRNNDecoderOutput
  from texar.tf.modules.decoders.rnn_decoders import BasicRNNDecoder
  from texar.tf.modules.decoders.rnn_decoders import AttentionRNNDecoderOutput
  from texar.tf.modules.decoders.rnn_decoders import AttentionRNNDecoder
  from texar.tf.modules.decoders.rnn_decoder_helpers import get_helper
  from texar.tf import context
label_desc: Use image node_id 1 for calling the AttentionRNNDecoderTest obj's underlying member method code with example usage: obj.setUp() without return types