class_docstr: Tests mle losses.
      
code: def setUp(self):
      tf.test.TestCase.setUp(self)
      self._batch_size = 64
      self._max_time = 16
      self._num_classes = 100
      self._labels = tf.ones(
          [self._batch_size, self._max_time], dtype=tf.int32
      )
      one_hot_labels = tf.one_hot(
          self._labels, self._num_classes, dtype=tf.float32
      )
      self._one_hot_labels = tf.reshape(
          one_hot_labels, [self._batch_size, self._max_time, -1]
      )
      self._logits = tf.random_uniform(
          [self._batch_size, self._max_time, self._num_classes]
      )
      self._sequence_length = tf.random_uniform(
          [self._batch_size], maxval=self._max_time, dtype=tf.int32
      )
  
file_path: texar/tests/losses/mle_losses_test.py
imports: import numpy
  import tensorflow
  import texar.tf
label_desc: Use image node_id 1 for calling the MLELossesTest obj's underlying member method code with example usage: obj.setUp() without return types