code: def test_inverse(self, device, batch_size, cdtype):
      z = self._make_rand_data(device, cdtype, (batch_size,))
      s = So2(z)
      s_in_in = s.inverse().inverse()
      self.assert_close(s_in_in.z.real, z.real)
      self.assert_close(s_in_in.z.imag, z.imag)
  
imports: import pytest
  import torch
  from kornia.geometry.liegroup import So2
  from kornia.geometry.vector import Vector2
  from kornia.testing import BaseTester
label_desc: Use image node_id 21 for calling the TestSo2 obj's underlying member method code with example usage: obj.test_inverse(device, batch_size, cdtype) without return types