code: def test_valid_param_combinations(
      self,
      batch_size,
      input_size,
      size,
      resize_to,
      same_on_batch,
      device,
      dtype,
  ):
      if isinstance(size, torch.Tensor):
          size = size.repeat(batch_size, 1).to(
              device=device, dtype=dtype
          )
  
      param_gen = CropGenerator3D(size=size, resize_to=resize_to)
      param_gen(
          batch_shape=torch.Size((batch_size, 1, *input_size)),
          same_on_batch=same_on_batch,
      )
  
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 1 for calling the TestRandomCropGen3D obj's underlying member method code with example usage: obj.test_valid_param_combinations(batch_size, input_size, size, resize_to, same_on_batch, device, dtype) without return types