code: def test_exception(self, batch_size, device, dtype):
      with pytest.raises(TypeError):
          src = torch.rand(batch_size, 5, 2).numpy()
          assert kornia.geometry.transform.get_tps_transform(src, src)
  
      with pytest.raises(ValueError):
          src = torch.rand(batch_size, 5)
          assert kornia.geometry.transform.get_tps_transform(src, src)
  
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 4 for calling the TestTransformParameters obj's underlying member method code with example usage: obj.test_exception(batch_size, device, dtype) without return types