code: def test_pretrained_indoor(self, device, dtype, data):
      loftr = LoFTR("indoor").to(device, dtype)
      data_dev = utils.dict_to(data, device, dtype)
      with torch.no_grad():
          out = loftr(data_dev)
      assert_close(
          out["keypoints0"], data_dev["loftr_indoor_tentatives0"]
      )
      assert_close(
          out["keypoints1"], data_dev["loftr_indoor_tentatives1"]
      )
  
file_path: kornia/test/feature/test_loftr.py
imports: import sys
  import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia.testing
  from kornia.feature import LoFTR
  from kornia.geometry import resize
  from kornia.testing import assert_close
  from kornia.utils._compat import torch_version_ge
label_desc: Use image node_id 3 for calling the TestLoFTR obj's underlying member method code with example usage: obj.test_pretrained_indoor(device, dtype, data) without return types