code: def test_convert_target_to_relative(target, mock_image_stream):
      img = np.array([[3, 32, 128]])  # ImageTensor
      back_img, target = utils.convert_target_to_relative(img, target)
      assert img.all() == back_img.all()
      assert (target["boxes"].all() >= 0) & (target["boxes"].all() <= 1)
  
file_path: doctr/tests/common/test_datasets_utils.py
imports: import numpy
  import pytest
  from doctr.datasets import utils
label_desc: Use image node_id 7 for calling a global function with example usage: test_convert_target_to_relative(target, mock_image_stream) without return types