code: def test_jit(self, match_type, device, dtype):
      desc1 = torch.rand(5, 8, device=device, dtype=dtype)
      desc2 = torch.rand(7, 8, device=device, dtype=dtype)
      matcher = DescriptorMatcher(match_type, 0.8).to(device)
      matcher_jit = torch.jit.script(
          DescriptorMatcher(match_type, 0.8).to(device)
      )
      assert_close(
          matcher(desc1, desc2)[0], matcher_jit(desc1, desc2)[0]
      )
      assert_close(
          matcher(desc1, desc2)[1], matcher_jit(desc1, desc2)[1]
      )
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia.testing
  from kornia.feature.integrated import LightGlueMatcher
  from kornia.feature.laf import laf_from_center_scale_ori
  from kornia.feature.matching import DescriptorMatcher, GeometryAwareDescriptorMatcher, match_adalam, match_fginn, match_mnn, match_nn, match_smnn, match_snn
  from kornia.testing import assert_close
label_desc: Use image node_id 7 for calling the TestMatchSMNN obj's underlying member method code with example usage: obj.test_jit(match_type, device, dtype) without return types