code: def test_dynamo(self, device, dtype, torch_optimizer):
      op = kornia.geometry.invert_affine_transform
      op_script = torch_optimizer(op)
  
      matrix = torch.eye(2, 3, device=device, dtype=dtype)[None]
      actual = op_script(matrix)
      expected = op(matrix)
      assert_close(actual, expected, rtol=1e-4, atol=1e-4)
  
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 5 for calling the TestInvertAffineTransform obj's underlying member method code with example usage: obj.test_dynamo(device, dtype, torch_optimizer) without return types