code: def xywh_to_ltrb(boxes):
      boxes = tf.convert_to_tensor(boxes)
      x = boxes[..., 0]
      y = boxes[..., 1]
      w = boxes[..., 2]
      h = boxes[..., 3]
      return tf.stack(
          [x - w / 2, y - h / 2, x + w / 2, y + h / 2], axis=-1
      )
  
file_path: DALI/docs/examples/use_cases/tensorflow/yolov4/src/utils.py
imports: import tensorflow
  import numpy
  from inference import decode_prediction
label_desc: Use image node_id 2 for calling a global function with example usage: xywh_to_ltrb(boxes) and returns: tf