code: def _make_tfxio(schema):
      """Creates TFXIO for SequenceExample.
  
      Args:
        schema: A TFMD Schema describing the dataset.
  
      Returns:
       TFSequenceExampleRecord TFXIO Instance.
  
      The data_tfrecord.gz file holds Serialized SequenceExample as below:
        context {
          feature { key: "int_feature" value { int64_list { value: [0] } } }
          feature {
            key: "float_feature"
            value { float_list { value: [1.0, 2.0, 3.0, 4.0] } }
          }
        }
        feature_lists {
          feature_list {
            key: "int_feature"
            value {
              feature { int64_list { value: [1, 2] } }
              feature { int64_list { value: [3, 4] } }
            }
          }
          feature_list {
            key: "string_feature"
            value {
              feature { bytes_list { value: ["Hello", "World"] } }
              feature { bytes_list { value: [] } }
            }
          }
        }
      """
      sequence_example_file = os.path.join(
          os.path.dirname(__file__),
          "testdata/sequence_example/data_tfrecord.gz",
      )
      return tfxio.TFSequenceExampleRecord(
          sequence_example_file,
          schema=schema,
          telemetry_descriptors=_TELEMETRY_DESCRIPTORS,
      )
  
file_path: transform/examples/simple_sequence_example.py
imports: import os
  import tempfile
  from absl import logging
  import apache_beam
  import tensorflow_transform
  import tensorflow_transform.beam
  from tfx_bsl.public import tfxio
  from tensorflow_metadata.proto.v0 import schema_pb2
  from google.protobuf import text_format
label_desc: Use image node_id 2 for calling a global function with example usage: _make_tfxio(schema) and returns: tfxio