code: def convert_to_xywh(boxes):
      xmin, ymin, xmax, ymax = boxes.unbind(1)
      return torch.stack((xmin, ymin, xmax - xmin, ymax - ymin), dim=1)
  
imports: import json
  import copy
  from collections import defaultdict
  import numpy
  import torch
  import torch._six
  from pycocotools.cocoeval import COCOeval
  from pycocotools.coco import COCO
  import pycocotools.mask
  from .distributed_utils import all_gather
label_desc: Use image node_id 1 for calling a global function with example usage: convert_to_xywh(boxes) and returns: torch