code: def test_affine_only(self, batch_size, device, dtype):
      src = torch.tensor(
          [
              [
                  [0.0, 0.0],
                  [0.0, 1.0],
                  [1.0, 0.0],
                  [1.0, 1.0],
                  [0.5, 0.5],
              ]
          ],
          device=device,
      ).repeat(batch_size, 1, 1)
      dst = src.clone() * 2.0
      kernel, _ = kornia.geometry.transform.get_tps_transform(src, dst)
      assert_close(
          kernel, torch.zeros_like(kernel), atol=1e-4, rtol=1e-4
      )
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  from kornia.testing import assert_close
  from kornia.utils._compat import torch_version_ge
label_desc: Use image node_id 3 for calling the TestTransformParameters obj's underlying member method code with example usage: obj.test_affine_only(batch_size, device, dtype) without return types