code: def box_yxyx_to_cxcywh(
      x: Array, np_backbone: PyModule = jnp
  ) -> Array:
      """Converts boxes from [y, x, y', x'] format into [cx, cy, w, h] format."""
      y0, x0, y1, x1 = np_backbone.split(x, 4, axis=-1)
      b = [(x0 + x1) / 2, (y0 + y1) / 2, (x1 - x0), (y1 - y0)]
      return np_backbone.concatenate(b, axis=-1)
  
file_path: scenic/scenic/model_lib/base_models/box_utils.py
imports: from typing import Any, Union
  import jax.numpy
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: box_yxyx_to_cxcywh(x, np_backbone) and returns: np_backbone