code: def get_target(device):
      if device == "cpu":
          return "llvm"
      elif device == "cuda" or device == "gpu":
          return "cuda"
      assert False, "Unknown device " + device
  
file_path: mxnet/contrib/tvmop/compile.py
imports: import tvm
  from tvm import autotvm
  import os
  import argparse
  import re
  import json
  import logging
  import sys
  import subprocess
  from tvmop.opdef import __OP_DEF__
  from tvmop.space import ConfigSpaces, ConfigSpace
  from tvm.autotvm.measure.measure_methods import set_cuda_target_arch
label_desc: Use image node_id 3 for calling a global function with example usage: get_target(device) and returns: str, str