class_docstr: Tests entropy.
      
code: def setUp(self):
      tf.test.TestCase.setUp(self)
      self._batch_size = 64
      self._max_time = 128
      self._d = 16
      self._distribution_dim = 32
      self._logits = tf.random_uniform(
          [self._batch_size, self._d, self._distribution_dim]
      )
      self._sequence_logits = tf.random_uniform(
          [
              self._batch_size,
              self._max_time,
              self._d,
              self._distribution_dim,
          ]
      )
      self._sequence_length = tf.random_uniform(
          [self._batch_size], maxval=self._max_time, dtype=tf.int32
      )
  
imports: import tensorflow
  import texar.tf
label_desc: Use image node_id 1 for calling the EntropyTest obj's underlying member method code with example usage: obj.setUp() without return types