class_docstr: Graph Def summary 
class_docstr_tok: ["Graph","Def","summary"]
code: def PrintNodeInfo(self, node):
      get_real_shape = lambda dims: [dim.size for dim in dims]
      if "shape" in node.attr:
          shape = get_real_shape(node.attr["shape"].shape.dim)
      if "dtype" in node.attr:
          dtype = tf.DType(node.attr["dtype"].type)
      print(
          "    <<=== (name={}, type={}, shape={} )".format(
              node.name, dtype, shape
          )
      )
      return (node.name, dtype, shape)
  
file_path: delta/gcompiler/python/delta_infer/subgraphs/common/summarize_graph.py
imports: from __future__ import absolute_import, division, print_function
  import tensorflow
  import os
  import sys
  import numpy
  from tensorflow.compat.v1 import GraphDef
label_desc: Use image node_id 4 for calling the GraphSummary obj's underlying member method code with example usage: obj.PrintNodeInfo(node) and returns: node,  dtype,  shape