code: def test_correct_mode_computed_with_uniform_probabilities(self):
      with self.test_session():
          probs = np.array(3 * [1 / 3.0])
          total_count = 5
          self.assertAllEqual(
              compute_multinomial_mode(
                  probs, total_count, seed=self.RANDOM_SEED
              ),
              np.array([1, 2, 2]),
          )
          probs = np.array([0.6, 0.4, 0.0])
          total_count = 5
          self.assertAllEqual(
              compute_multinomial_mode(
                  probs, total_count, seed=self.RANDOM_SEED
              ),
              np.array([2, 2, 1]),
          )
  
file_path: edward/tests/util/random_variables_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from edward.util.random_variables import compute_multinomial_mode
label_desc: Use image node_id 1 for calling the test_compute_multinomial_mode obj's underlying member method code with example usage: obj.test_correct_mode_computed_with_uniform_probabilities() without return types