code: def graph_loads(graph_json):
      '''
      Load graph
      '''
      layers = []
      for layer in graph_json['layers']:
          layer_info = Layer(layer['type'], layer['input'], layer['output'], layer['size'])
          layer_info.is_delete = layer['is_delete']
          layers.append(layer_info)
      graph = Graph(graph_json['max_layer_num'], [], [], [])
      graph.layers = layers
      return grapf graph_loads(graph_json):
      '''
      Load graph
      '''
      layers = []
      for layer in graph_json['layers']:
          layer_info = Layer(layer['type'], layer['input'], layer['output'], layer['size'])
          layer_info.is_delete = layer['is_delete']
          layers.append(layer_info)
      graph = Graph(graph_json['max_layer_num'], [], [], [])
      graph.layers = layers
      return graph
docs: Load graph