code: def test_identity(self, device, dtype, batch_size):
      s = Se2.random(batch_size)
      s_pose_s = s * Se2.identity(batch_size)
      self.assert_close(s_pose_s.so2.z.real, s.so2.z.real)
      self.assert_close(s_pose_s.so2.z.imag, s.so2.z.imag)
      self.assert_close(s.t, s_pose_s.t)
  
imports: import pytest
  import torch
  from kornia.geometry.liegroup import Se2, So2
  from kornia.geometry.vector import Vector2
  from kornia.testing import BaseTester
label_desc: Use image node_id 18 for calling the TestSe2 obj's underlying member method code with example usage: obj.test_identity(device, dtype, batch_size) without return types