code: def box_cxcywh_to_xyxy(x: "torch.Tensor"):
      """
      From DETR source: https://github.com/facebookresearch/detr
      (detr/util/box_ops.py)
      """
  
      x_c, y_c, width, height = x.unbind(1)
      box = [
          (x_c - 0.5 * width),
          (y_c - 0.5 * height),
          (x_c + 0.5 * width),
          (y_c + 0.5 * height),
      ]
      return torch.stack(box, dim=1)
  
imports: from typing import List, Optional, Tuple, Union
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: box_cxcywh_to_xyxy(x) and returns: torch