code: def test_pairwise_iou_empty(target, empty_prediction):
      result = pairwise_iou_record_record(
          target=target, prediction=empty_prediction
      )
      empty_result = pairwise_iou_record_record(
          prediction=empty_prediction, target=empty_prediction
      )
      assert result.numel() == 0
      assert result.shape == (0, 3)
      assert empty_result.numel() == 0
      assert empty_result.shape == (0, 0)
  
file_path: icevision/tests/metrics/test_confusion_matrix.py
imports: import pytest
  from icevision.all import *
  from icevision.metrics.confusion_matrix.confusion_matrix_utils import *
label_desc: Use image node_id 8 for calling a global function with example usage: test_pairwise_iou_empty(target, empty_prediction) without return types