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/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 3 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