code: def test_gradcheck(self, device):
      points1 = torch.rand(
          1,
          8,
          2,
          device=device,
          dtype=torch.float64,
          requires_grad=True,
      )
      points2 = torch.rand(1, 8, 2, device=device, dtype=torch.float64)
      P1 = kornia.eye_like(3, points1)
      P1 = torch.nn.functional.pad(P1, [0, 1])
      P2 = kornia.eye_like(3, points2)
      P2 = torch.nn.functional.pad(P2, [0, 1])
      assert gradcheck(
          epi.triangulate_points,
          (P1, P2, points1, points2),
          raise_exception=True,
          fast_mode=True,
      )
  
file_path: kornia/test/geometry/epipolar/test_triangulation.py
imports: from typing import Dict
  import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.geometry.epipolar
  from kornia.testing import assert_close
label_desc: Use image node_id 4 for calling the TestTriangulation obj's underlying member method code with example usage: obj.test_gradcheck(device) without return types