code: def test_perfect_fit(self, device, dtype):
      sample = torch.ones(4, 4, 2, device=device, dtype=dtype)
      expected = torch.zeros(4, 4, device=device, dtype=dtype)
      actual = kornia.metrics.aepe(sample, sample, reduction="none")
      assert_close(actual, expected)
  
imports: import pytest
  import torch
  import kornia
  from kornia.testing import BaseTester, assert_close, tensor_to_gradcheck_var
label_desc: Use image node_id 4 for calling the TestAepe obj's underlying member method code with example usage: obj.test_perfect_fit(device, dtype) without return types