code: def build_graph_from_json(ir_model_json):
      """build model from json representation"""
      graph = json_to_graph(ir_model_json)
      logging.debug(graph.operation_history)
      model = graph.produce_torch_model()
      return model
  
file_path: nni/examples/trials/network_morphism/cifar10/cifar10_pytorch.py
imports: import argparse
  import logging
  import sys
  import nni
  from nni.algorithms.hpo.networkmorphism_tuner.graph import json_to_graph
  import torch
  import torch.nn
  import torch.optim
  import torchvision
  import utils
label_desc: Use image node_id 2 for calling a global function with example usage: build_graph_from_json(ir_model_json) and returns: model