code: def test_organize_valid_indices(self):
      tf.random.set_seed(4)
      labels = [[1.0, 0.0, -1.0], [-1.0, 1.0, 2.0]]
      is_valid = utils.is_label_valid(labels)
      shuffled_indices = utils.shuffle_valid_indices(is_valid, seed=2)
      organized_indices = utils.organize_valid_indices(
          is_valid, shuffle=False
      )
      self.assertAllEqual(
          shuffled_indices,
          [[[0, 1], [0, 0], [0, 2]], [[1, 1], [1, 2], [1, 0]]],
      )
      self.assertAllEqual(
          organized_indices,
          [[[0, 0], [0, 1], [0, 2]], [[1, 1], [1, 2], [1, 0]]],
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import tensorflow
  from tensorflow_ranking.python import utils
label_desc: Use image node_id 10 for calling the UtilsTest obj's underlying member method code with example usage: obj.test_organize_valid_indices() without return types