code: def testSizeFeature(self):
      decoder = struct2tensor_parsing_utils.ELWCDecoder(
          "test_decoder", [], [], size_feature_name="example_list_size"
      )
      result = decoder.decode_record(tf.convert_to_tensor(_ELWCS))
      self.assertLen(result, 1)
      self.assertEqual(
          result["example_list_size"].to_list(), [[2], [1]]
      )
  
file_path: tfx/tfx/examples/ranking/struct2tensor_parsing_utils_test.py
imports: import itertools
  import unittest
  import tensorflow
  from google.protobuf import text_format
  from tensorflow_serving.apis import input_pb2
label_desc: Use image node_id 4 for calling the ELWCDecoderTest obj's underlying member method code with example usage: obj.testSizeFeature() without return types