code: def test_invalid_param_combinations(self, degrees, device, dtype):
      with pytest.raises(Exception):
          param_gen = RotationGenerator3D(
              degrees=degrees.to(device=device, dtype=dtype)
          )
          param_gen(torch.Size((2,)))
  
imports: import pytest
  import torch
  from kornia.augmentation.random_generator import AffineGenerator3D, CropGenerator3D, MotionBlurGenerator3D, PerspectiveGenerator3D, RotationGenerator3D, center_crop_generator3d
  from kornia.testing import assert_close
label_desc: Use image node_id 2 for calling the TestRandomRotationGen3D obj's underlying member method code with example usage: obj.test_invalid_param_combinations(degrees, device, dtype) without return types