code: def test_gradcheck(self, device, dtype, requires_grad):
      image = torch.rand(
          1,
          1,
          3,
          3,
          device=device,
          dtype=torch.float64,
          requires_grad=requires_grad,
      )
      noise = torch.rand(
          1,
          2,
          3,
          3,
          device=device,
          dtype=torch.float64,
          requires_grad=not requires_grad,
      )
      assert gradcheck(
          elastic_transform2d,
          (image, noise),
          raise_exception=True,
          fast_mode=True,
      )
  
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 6 for calling the TestElasticTransform obj's underlying member method code with example usage: obj.test_gradcheck(device, dtype, requires_grad) without return types