code: def test_invalid_param_combinations(
      self, kernel_size, angle, direction, device, dtype
  ):
      with pytest.raises(Exception):
          param_gen = MotionBlurGenerator3D(
              kernel_size=kernel_size,
              angle=angle.to(device=device, dtype=dtype),
              direction=direction.to(device=device, dtype=dtype),
          )
  
          param_gen(batch_shape=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 TestRandomMotionBlur3D obj's underlying member method code with example usage: obj.test_invalid_param_combinations(kernel_size, angle, direction, device, dtype) without return types