code: def test_one_hot_decode(self):
      encoder = text_encoder.OneHotClassLabelEncoder(
          class_labels=["zero", "one", "two"]
      )
      self.assertEqual(encoder.decode([1, 0, 0]), "zero")
      self.assertEqual(encoder.decode([0, 1, 0]), "one")
      self.assertEqual(encoder.decode([0, 0, 1]), "two")
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import collections
  import io
  import os
  import random
  import shutil
  import string
  import mock
  import six
  from six.moves import range
  from tensor2tensor.data_generators import text_encoder
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the OneHotClassLabelEncoderTest obj's underlying member method code with example usage: obj.test_one_hot_decode() without return types