code: def test_hflip(self, device, dtype):
      points_src = torch.tensor(
          [[[0.0, 0.0], [1.0, 0.0], [1.0, 1.0], [0.0, 1.0]]],
          device=device,
          dtype=dtype,
      )
  
      points_dst = torch.tensor(
          [[[1.0, 0.0], [0.0, 0.0], [0.0, 1.0], [1.0, 1.0]]],
          device=device,
          dtype=dtype,
      )
  
      dst_trans_src = kornia.geometry.get_perspective_transform(
          points_src, points_dst
      )
  
      point_left = torch.tensor(
          [[[0.0, 0.0]]], device=device, dtype=dtype
      )
      point_right = torch.tensor(
          [[[1.0, 0.0]]], device=device, dtype=dtype
      )
  
      assert_close(
          kornia.geometry.transform_points(dst_trans_src, point_left),
          point_right,
      )
  
imports: import sys
  import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.testing
  from kornia.testing import assert_close
  from kornia.utils._compat import torch_version, torch_version_lt
  from kornia.utils.helpers import _torch_inverse_cast
label_desc: Use image node_id 4 for calling the TestGetPerspectiveTransform obj's underlying member method code with example usage: obj.test_hflip(device, dtype) without return types