code: def _main(_):
      protobuf = convert(
          FLAGS.model, FLAGS.frozen, FLAGS.output_nodes.split(",")
      )
      with open(
          FLAGS.output, "wb"
      ) as fp:  # pylint: disable=invalid-name
          fp.write(protobuf.SerializeToString())
  
file_path: auptimizer/src/aup/dlconvert/checkpoint_to_pb.py
imports: from os import path
  from typing import List
  import tensorflow.compat.v1
  from absl import flags, app
  from .utils import reset_flag
  from .to_frozen_pb import to_frozen
label_desc: Use image node_id 2 for calling a global function with example usage: _main(_) without return types