code: def test_identity(self, device, dtype):
      # create input data
      height, width = 2, 5
      patch_src = torch.rand(
          1, 1, height, width, device=device, dtype=dtype
      )
      dst_homo_src = utils.create_eye_batch(
          batch_size=1, eye_size=3, device=device, dtype=dtype
      )
  
      # instantiate warper
      warper = kornia.geometry.transform.HomographyWarper(
          height, width, align_corners=True
      )
  
      # warp from source to destination
      patch_dst = warper(patch_src, dst_homo_src)
      assert_close(patch_src, patch_dst)
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.testing
  from kornia.testing import assert_close
  from kornia.utils.helpers import _torch_inverse_cast
label_desc: Use image node_id 1 for calling the TestHomographyWarper obj's underlying member method code with example usage: obj.test_identity(device, dtype) without return types