code: def remap_bboxes(
      bboxes, padded_w, padded_h, expand, data_shape, ratio
  ):
      """
      Remap bboxes in (x0, y0, x1, y1) format into the input image space
      Parameters
      ----------
      bboxes
      padded_w
      padded_h
      expand
  
      Returns
      -------
  
      """
      bboxes[:, 0] *= padded_w / (data_shape * ratio)
      bboxes[:, 1] *= padded_h / data_shape
      bboxes[:, 2] *= padded_w / (data_shape * ratio)
      bboxes[:, 3] *= padded_h / data_shape
  
      bboxes[:, 0] -= expand[0]
      bboxes[:, 1] -= expand[1]
      bboxes[:, 2] -= expand[0]
      bboxes[:, 3] -= expand[1]
  
      return bboxes
  
imports: import time
  import logging
  from contextlib import contextmanager
  import mxnet
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: remap_bboxes(bboxes, padded_w, padded_h, expand, data_shape, ratio) and returns: bboxes