code: def _main(_):
      tflite_model = convert(FLAGS.model, FLAGS.output_nodes.split(","))
      try:
          with open(FLAGS.output, "wb") as f:
              f.write(tflite_model)
      except Exception as e:
          logging.fatal("No valid checkpoint file found")
          raise e
  
file_path: auptimizer/src/aup/dlconvert/checkpoint_to_tflite.py
imports: from os import path, remove
  from typing import List
  import tensorflow.compat.v1
  from absl import flags, app
  from .utils import reset_flag
  import logging
  from .to_frozen_pb import to_frozen
  from .pb_to_tflite import model_loader
  from .to_tflite import create_converter
label_desc: Use image node_id 2 for calling a global function with example usage: _main(_) without return types