code: def getFrozenGraph(input_graph):
      with gfile.FastGFile(input_graph, "rb") as f:
          graph_def = tf.GraphDef()
          graph_def.ParseFromString(f.read())
      return graph_def
  
file_path: delta/egs/snli/match/v1/utils/deploy/convert_frozen_pb_to_tftrt.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import os
  import delta.compat
  import tensorflow.contrib.tensorrt
  from tensorflow.python.platform import gfile
label_desc: Use image node_id 1 for calling a global function with example usage: getFrozenGraph(input_graph) and returns: graph_def