code: def main(unused_argv):
      tf.logging.set_verbosity(FLAGS.log)
  
      pipeline_instance = performance_pipeline.get_pipeline(
          min_events=32,
          max_events=512,
          eval_ratio=FLAGS.eval_ratio,
          config=performance_model.default_configs[FLAGS.config],
      )
  
      input_dir = os.path.expanduser(FLAGS.input)
      output_dir = os.path.expanduser(FLAGS.output_dir)
      pipeline.run_pipeline_serial(
          pipeline_instance,
          pipeline.tf_record_iterator(
              input_dir, pipeline_instance.input_type
          ),
          output_dir,
      )
  
imports: import os
  from magenta.models.performance_rnn import performance_model
  from magenta.pipelines import performance_pipeline
  from magenta.pipelines import pipeline
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling a global function with example usage: main(unused_argv) without return types