parameters: (unused_argv)
docstring: Freeze a model to a GraphDef proto.
docstring_summary: Freeze a model to a GraphDef proto.
docstring_tokens: Freeze a model to a GraphDef proto .
function: def main(unused_argv):
      """Freeze a model to a GraphDef proto."""
      if FLAGS.use_tpu:
          dual_net.freeze_graph_tpu(FLAGS.model_path)
      else:
          dual_net.freeze_graph(FLAGS.model_path, FLAGS.use_trt,
                                FLAGS.trt_max_batch_size, FLAGS.trt_precision)
function_tokens: def main ( unused_argv ) : if FLAGS . use_tpu : dual_net . freeze_graph_tpu ( FLAGS . model_path ) else : dual_net . freeze_graph ( FLAGS . model_path , FLAGS . use_trt , FLAGS . trt_max_batch_size , FLAGS . trt_precision )