code: def test_matrix_transforms_use_cache_for_different_dc_items_raises_error(
      img_5x5, mask_3x4, pipeline
  ):
      if pipeline:
          ppl = slc.Stream(
              [
                  slt.Rotate(
                      angle_range=(-180, 180), p=1, ignore_state=False
                  ),
                  slt.Pad(pad_to=(10, 10)),
              ]
          )
      else:
          ppl = slt.Rotate(
              angle_range=(-180, 180), p=1, ignore_state=False
          )
  
      with pytest.raises(ValueError):
          if pipeline:
              ppl(
                  {"images": img_5x5, "mask": mask_3x4},
                  return_torch=False,
              )
          else:
              ppl({"images": img_5x5, "mask": mask_3x4})
  
imports: import itertools
  import random
  import cv2
  import numpy
  import pytest
  import torch
  import solt.core
  import solt.transforms
  import solt.utils
  from .fixtures import *
label_desc: Use image node_id 39 for calling a global function with example usage: test_matrix_transforms_use_cache_for_different_dc_items_raises_error(img_5x5, mask_3x4, pipeline) without return types