code: def build(self):
      self.input_layers = list()
      for i, layer in enumerate(self.model.layers):
          self.layer_map[layer.name] = Keras2GraphNode(layer)
          self.layer_name_map[layer.name] = layer.name
          for node in layer._inbound_nodes:
              for pred in node.inbound_layers:
                  if pred.name not in self.layer_map:
                      self.layer_map[pred.name] = Keras2GraphNode(pred)
                      self.layer_name_map[pred.name] = pred.name
                  self._make_connection(pred.name, layer.name)
  
      # Kit: TODO
      # Duplicate models for weight sharing
      # Expand the sub-models
      super(Keras2Graph, self).build()
  
file_path: MMdnn/mmdnn/conversion/keras/keras2_graph.py
imports: import os
  import keras
  from mmdnn.conversion.common.DataStructure.graph import GraphNode, Graph
label_desc: Use image node_id 2 for calling the Keras2Graph obj's underlying member method code with example usage: obj.build() without return types