code: def __init__(self, graph_def):
      self.graph_def = graph_def
      self.sess = tf.Session()
      self.op_dict = None
      self.net_inputs = None
      self.net_outputs = None
      self.token_list = []
      self.run_list = []
      self.random_seed = 0
      self.affine_resolved = False
      self._rename_node_dict = {}
      tf.import_graph_def(self.graph_def, name="")
  
imports: import numpy
  import tensorflow.compat.v1
  from tensorflow.core.framework.tensor_pb2 import TensorProto
  from tensorflow.core.framework.tensor_shape_pb2 import TensorShapeProto
label_desc: Use image node_id 1 to create a new RefineGraph object  with example: obj = RefineGraph(graph_def)