code: def test_image_mask_pipeline_to_torch_checks_mean_type_and_shape_rgb(
      img_3x3_rgb, mask_3x3, mean, std, expected
  ):
      ppl = slc.Stream(
          [
              slt.Rotate(angle_range=(90, 90), p=1),
              slt.Rotate(angle_range=(90, 90), p=1),
          ],
      )
      dc_res = ppl(
          {"image": img_3x3_rgb, "mask": mask_3x3}, return_torch=False
      )
      with pytest.raises(expected):
          dc_res.to_torch(normalize=True, mean=mean, std=std)
  
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 46 for calling a global function with example usage: test_image_mask_pipeline_to_torch_checks_mean_type_and_shape_rgb(img_3x3_rgb, mask_3x3, mean, std, expected) without return types