code: def build(self):
      for i, layer in enumerate(self.model.node):
          self.layer_map[layer.name] = TensorflowGraphNode(layer)
          self.layer_name_map[layer.name] = layer.name
          for pred in layer.input:
              if pred not in self.layer_map:
                  if not pred.split(":")[0] in self.layer_map:  # test
                      new_node = NodeDef()
                      new_node.name = pred
                      new_node.op = "NoOp"
                      self.layer_map[pred] = TensorflowGraphNode(
                          new_node
                      )
                      self.layer_name_map[pred] = pred
  
              self.tf_make_connection(pred, layer.name)
  
      super(TensorflowGraph, self).build()
  
file_path: MMdnn/mmdnn/conversion/tensorflow/tensorflow_graph.py
imports: from mmdnn.conversion.common.DataStructure.graph import GraphNode, Graph
  from tensorflow.core.framework.node_def_pb2 import NodeDef
  from tensorflow.core.framework import attr_value_pb2
label_desc: Use image node_id 2 for calling the TensorflowGraph obj's underlying member method code with example usage: obj.build() without return types