code: def main():
      dshape = (32, 16)
      net = _get_model(dshape)
      mod, params = testing.create_workload(net)
      graph, lib, params = relay.build(mod, "llvm", params=params)
  
      with open(osp.join(CWD, "graph.json"), "w") as f_resnet:
          f_resnet.write(graph)
      with open(osp.join(CWD, "graph.params"), "wb") as f_params:
          f_params.write(runtime.save_param_dict(params))
  
file_path: tvm/rust/tvm-graph-rt/tests/build_model.py
imports: from os import path
  import numpy
  import tvm
  from tvm import te
  from tvm import relay, runtime
  from tvm.relay import testing
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types