code: def save_graph_def(file_name, frozen_graph_def):
      """Writes a graph def file out to disk.
  
      Args:
        file_name: Where to save the file.
        frozen_graph_def: GraphDef proto object to save.
      """
      tf.io.write_graph(
          frozen_graph_def,
          os.path.dirname(file_name),
          os.path.basename(file_name),
          as_text=False,
      )
      tf.compat.v1.logging.info("Saved frozen graph to %s", file_name)
  
file_path: tensorflow-upstream/tensorflow/examples/speech_commands/freeze.py
imports: import argparse
  import os.path
  import sys
  import tensorflow
  import input_data
  import models
  from tensorflow.python.ops import gen_audio_ops
label_desc: Use image node_id 2 for calling a global function with example usage: save_graph_def(file_name, frozen_graph_def) without return types