code: def testCleanDecodes(self):
      cleaned_decodes = utils.clean_decodes(
          [
              [2, 0, 2, 1, 3, 2, 0],
              [1, 2, 2, 2, 2, 2, 2],
              [2, 2, 1, 1, 1, 1, 1],
              [2, 2, 2, 2, 2, 2, 2],
          ]
      )
      with self.test_session() as sess:
          self.assertAllEqual(
              sess.run(cleaned_decodes),
              [
                  [2, 0, 2, 1, 0, 0, 0],
                  [1, 0, 0, 0, 0, 0, 0],
                  [2, 2, 1, 0, 0, 0, 0],
                  [2, 2, 2, 2, 2, 2, 2],
              ],
          )
  
file_path: mesh/mesh_tensorflow/transformer/utils_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import absltest
  from absl.testing import parameterized
  import mesh_tensorflow
  from mesh_tensorflow.transformer import utils
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the UtilsTest obj's underlying member method code with example usage: obj.testCleanDecodes() without return types