code: def dict_to_tuple(out_dict):
      if "masks" in out_dict.keys():
          return (
              out_dict["boxes"],
              out_dict["scores"],
              out_dict["labels"],
              out_dict["masks"],
          )
      return out_dict["boxes"], out_dict["scores"], out_dict["labels"]
  
file_path: tvm/gallery/how_to/deploy_models/deploy_object_detection_pytorch.py
imports: import tvm
  from tvm import relay
  from tvm import relay
  from tvm.runtime.vm import VirtualMachine
  from tvm.contrib.download import download_testdata
  import numpy
  import cv2
  import torch
  import torchvision
label_desc: Use image node_id 2 for calling a global function with example usage: dict_to_tuple(out_dict) and returns: out_dict,  out_dict,  out_dict, out_dict,  out_dict,  out_dict,  out_dict