code: def do_trace(model, inp, in_size=in_size):
      model_trace = torch.jit.trace(model, inp)
      model_trace.eval()
      return model_trace
  
file_path: tvm/tests/python/frontend/pytorch/test_object_detection.py
imports: import numpy
  import cv2
  import torch
  import torchvision
  import tvm
  import tvm.testing
  from tvm import relay
  from tvm.runtime.vm import VirtualMachine
  from tvm.relay.frontend.pytorch_utils import rewrite_nms_to_batched_nms, rewrite_batched_nms_with_max_out_size, rewrite_scatter_to_gather
  from tvm.contrib.download import download
label_desc: Use image node_id 2 for calling a global function with example usage: do_trace(model, inp, in_size) and returns: model_trace