code: def test_jit(self, device, dtype):
      B, C, H, W = 2, 1, 128, 128
      img = torch.ones(B, C, H, W, device=device, dtype=dtype)
      model = SOLD2_detector().to(img.device, img.dtype).eval()
      model_jit = torch.jit.script(model)
      assert_close(model(img), model_jit(img))
  
file_path: kornia/test/feature/test_sold2.py
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia.testing
  from kornia.feature.sold2 import SOLD2, SOLD2_detector
  from kornia.testing import assert_close
label_desc: Use image node_id 3 for calling the TestSOLD2_detector obj's underlying member method code with example usage: obj.test_jit(device, dtype) without return types