code: def convert_to_jit(gm, gm_args):
      strip_overloads(gm)
      try:
          return torch.jit.script(gm)
      except Exception:
          pass
      return torch.jit.trace(gm, gm_args)
  
file_path: pytorch/benchmarks/dynamo/microbenchmarks/operatorbench.py
imports: import click
  import numpy
  import torch
  from operator_inp_utils import OperatorInputsLoader
  from torch._dynamo.backends.cudagraphs import cudagraphs_inner
  from torch._dynamo.testing import same
  from torch._inductor.compile_fx import compile_fx
  from torch._inductor.decomposition import decompositions
  from torch._inductor.lowering import lowerings
  from torch._inductor.utils import gen_gm_and_inputs
  from torch.utils._pytree import tree_map_only
label_desc: Use image node_id 3 for calling a global function with example usage: convert_to_jit(gm, gm_args) and returns: torch, torch