code: def test_shape(self, device, dtype):
      pts1 = torch.rand(2, 4, 2, device=device, dtype=dtype)
      pts2 = torch.rand(2, 4, 2, device=device, dtype=dtype)
      Fm = utils2.create_random_fundamental_matrix(1).type_as(pts1)
      perp = epi.get_closest_point_on_epipolar_line(pts1, pts2, Fm)
      assert perp.shape == (2, 4, 2)
  
imports: from typing import Dict
  import pytest
  import test_common
  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 1 for calling the TestGetClosestPointOnEpipolarLine obj's underlying member method code with example usage: obj.test_shape(device, dtype) without return types