code: def box_xyxy_to_xywh(box_xyxy: paddle.Tensor) -> paddle.Tensor:
      box_xywh = deepcopy(box_xyxy)
      box_xywh[2] = box_xywh[2] - box_xywh[0]
      box_xywh[3] = box_xywh[3] - box_xywh[1]
      return box_xywh
  
imports: import numpy
  import paddle
  import math
  from copy import deepcopy
  from itertools import product
  from typing import Any, Dict, Generator, ItemsView, List, Tuple
label_desc: Use image node_id 2 for calling a global function with example usage: box_xyxy_to_xywh(box_xyxy) and returns: box_xywh