code: def bbox_translate(bbox, x_offset=0, y_offset=0):
      """Translate bounding boxes by offsets.
  
      Parameters
      ----------
      bbox : numpy.ndarray
          Numpy.ndarray with shape (N, 4+) where N is the number of bounding boxes.
          The second axis represents attributes of the bounding box.
          Specifically, these are :math:`(x_{min}, y_{min}, x_{max}, y_{max})`,
          we allow additional attributes other than coordinates, which stay intact
          during bounding box transformations.
      x_offset : int or float
          Offset along x axis.
      y_offset : int or float
          Offset along y axis.
  
      Returns
      -------
      numpy.ndarray
          Translated bounding boxes with original shape.
      """
      bbox = bbox.copy()
      bbox[:, :2] += (x_offset, y_offset)
      bbox[:, 2:4] += (x_offset, y_offset)
      return bbox
  
file_path: mxnet/python/mxnet/gluon/contrib/data/vision/transforms/bbox/utils.py
imports: from __future__ import division
  import random
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: bbox_translate(bbox, x_offset, y_offset) and returns: bbox