code: def expand_bbox(bboxes, scale):
      w_half = (bboxes[:, 2] - bboxes[:, 0]) * 0.5
      h_half = (bboxes[:, 3] - bboxes[:, 1]) * 0.5
      x_c = (bboxes[:, 2] + bboxes[:, 0]) * 0.5
      y_c = (bboxes[:, 3] + bboxes[:, 1]) * 0.5
  
      w_half *= scale
      h_half *= scale
  
      bboxes_exp = np.zeros(bboxes.shape, dtype=np.float32)
      bboxes_exp[:, 0] = x_c - w_half
      bboxes_exp[:, 2] = x_c + w_half
      bboxes_exp[:, 1] = y_c - h_half
      bboxes_exp[:, 3] = y_c + h_half
  
      return bboxes_exp
  
imports: import math
  import paddle
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: expand_bbox(bboxes, scale) and returns: bboxes_exp