code: def bbox_cxcywh_to_xyxy(bbox):
      """Convert bbox coordinates from (cx, cy, w, h) to (x1, y1, x2, y2).
  
      Args:
          bbox (Tensor): Shape (n, 4) for bboxes.
  
      Returns:
          Tensor: Converted bboxes.
      """
      cx, cy, w, h = bbox.split((1, 1, 1, 1), dim=-1)
      bbox_new = [
          (cx - 0.5 * w),
          (cy - 0.5 * h),
          (cx + 0.5 * w),
          (cy + 0.5 * h),
      ]
      return torch.cat(bbox_new, dim=-1)
  
file_path: insightface/detection/scrfd/mmdet/core/bbox/transforms.py
imports: import numpy
  import torch
label_desc: Use image node_id 12 for calling a global function with example usage: bbox_cxcywh_to_xyxy(bbox) and returns: torch