code: def test_shift(self, device, dtype):
      pts1 = torch.zeros(3, 2, device=device, dtype=dtype)[None]
      pts2 = torch.tensor(
          [[2, 0.0], [2, 1], [2, 2.0]], device=device, dtype=dtype
      )[None]
      Fm = torch.tensor(
          [[0.0, 0.0, 0.0], [0.0, 0.0, -1.0], [0.0, 1.0, 0.0]],
          dtype=dtype,
          device=device,
      )[None]
      expected = torch.tensor(
          [0.0, 1.0, 2.0], device=device, dtype=dtype
      )[None]
      assert_close(
          epi.right_to_left_epipolar_distance(pts1, pts2, Fm),
          expected,
          atol=1e-4,
          rtol=1e-4,
      )
  
imports: import torch
  from torch.autograd import gradcheck
  import kornia.geometry.epipolar
  import kornia.testing
  from kornia.testing import assert_close
label_desc: Use image node_id 4 for calling the TestRightToLeftEpipolarDistance obj's underlying member method code with example usage: obj.test_shift(device, dtype) without return types