code: def test_translate_bbox(self):
      size = (32, 24)
      y_offset, x_offset = 5, 3
      bbox = generate_random_bbox(10, size, 0, min(size))
  
      out = translate_bbox(bbox, y_offset=y_offset, x_offset=x_offset)
      bbox_expected = np.empty_like(bbox)
      bbox_expected[:, 0] = bbox[:, 0] + y_offset
      bbox_expected[:, 1] = bbox[:, 1] + x_offset
      bbox_expected[:, 2] = bbox[:, 2] + y_offset
      bbox_expected[:, 3] = bbox[:, 3] + x_offset
      np.testing.assert_equal(out, bbox_expected)
  
file_path: chainercv/tests/transforms_tests/bbox_tests/test_translate_bbox.py
imports: import unittest
  import numpy
  from chainer import testing
  from chainercv.transforms import translate_bbox
  from chainercv.utils.testing.generate_random_bbox import generate_random_bbox
label_desc: Use image node_id 1 for calling the TestTranslateBbox obj's underlying member method code with example usage: obj.test_translate_bbox() without return types