code: def build_graph_from_json(ir_model_json):
      
      graph = json_to_graph(ir_model_json)
      logging.debug(graph.operation_history)
      model = graph.produce_torch_model()
      return model
docs: build model from json representation