code: def test_batch_of_bboxes_convertion_with_normalized_coordinates():
      # Arrange
      loader = coco_torch.load_dataset()
      image, input_bboxes = loader.dataset[
          9
      ]  # it should be always the same sample
  
      normilized_input_bboxes = torch.stack(
          [
              torch.tensor(
                  [
                      bbox[0] / image.width,  # x
                      bbox[1] / image.height,  # y
                      bbox[2],  # w
                      bbox[3],  # h
                      bbox[4],  # l
                  ]
              )
              for bbox in input_bboxes
          ],
          dim=0,
      )
  
      # Act
      output_bboxes = convert_batch_of_bboxes(
          [(np.array(image), normilized_input_bboxes)], "nxywhl"
      )[0]
  
      # Assert
      assert_that(len(normilized_input_bboxes) == len(input_bboxes))
  
      for index, output_bbox in enumerate(output_bboxes):
          assert_that(
              (
                  output_bbox
                  == np.asarray(
                      [
                          input_bboxes[index][-1],
                          *input_bboxes[index][:-1],
                      ]
                  )
              ).all(),
              f"Original bbox: {input_bboxes[index]}; "
              f"Normalized bbox: {normilized_input_bboxes[index]}; "
              f"Output bbox: {output_bbox}",
          )
  
imports: from itertools import permutations
  from typing import Union
  import numpy
  import torch
  from hamcrest import assert_that, calling, close_to, equal_to, raises
  from torch.utils.data import DataLoader, Dataset
  from deepchecks.vision.datasets.detection import coco_torch
  from deepchecks.vision.utils import image_properties
  from deepchecks.vision.utils.detection_formatters import convert_batch_of_bboxes, convert_bbox, verify_bbox_format_notation
  from deepchecks.vision.vision_data import VisionData
label_desc: Use image node_id 16 for calling a global function with example usage: test_batch_of_bboxes_convertion_with_normalized_coordinates() without return types