code: def test_valid_paramters(
      self, device, dtype, kernel_size, sigma, alpha
  ):
      image = torch.rand(1, 4, 5, 5, device=device, dtype=dtype)
      noise = torch.rand(1, 2, 5, 5, device=device, dtype=dtype)
      if isinstance(sigma, torch.Tensor):
          sigma = sigma.to(device, dtype)
      if isinstance(alpha, torch.Tensor):
          alpha = alpha.to(device, dtype)
      assert (
          elastic_transform2d(image, noise, kernel_size, sigma, alpha)
          is not None
      )
  
file_path: kornia/test/geometry/transform/test_elastic_transform.py
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  from kornia.geometry.transform import elastic_transform2d
  from kornia.testing import assert_close
label_desc: Use image node_id 4 for calling the TestElasticTransform obj's underlying member method code with example usage: obj.test_valid_paramters(device, dtype, kernel_size, sigma, alpha) without return types