code: def test_jit(self, device, dtype):
      torch.random.manual_seed(0)
      points1 = torch.rand(4, 2, 2, device=device, dtype=dtype)
      points2 = torch.rand(4, 2, 2, device=device, dtype=dtype)
      model = RANSAC("homography_from_linesegments").to(
          device=device, dtype=dtype
      )
      model_jit = torch.jit.script(
          RANSAC("homography_from_linesegments").to(
              device=device, dtype=dtype
          )
      )
      assert_close(
          model(points1, points2)[0],
          model_jit(points1, points2)[0],
          rtol=1e-4,
          atol=1e-4,
      )
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia.testing
  from kornia.geometry import RANSAC, transform_points
  from kornia.geometry.epipolar import sampson_epipolar_distance
  from kornia.testing import assert_close
label_desc: Use image node_id 3 for calling the TestRANSACHomographyLineSegments obj's underlying member method code with example usage: obj.test_jit(device, dtype) without return types