code: def assert_close(self, actual, expected, rtol=None, atol=None):
      if isinstance(actual, Quaternion):
          actual = actual.data.data
      elif isinstance(actual, torch.nn.Parameter):
          actual = actual.data
      if isinstance(expected, Quaternion):
          expected = expected.data.data
      elif isinstance(expected, torch.nn.Parameter):
          expected = expected.data
  
      assert_close(actual, expected, rtol=rtol, atol=atol)
  
imports: import pytest
  import torch
  from kornia.geometry.quaternion import Quaternion
  from kornia.testing import assert_close
label_desc: Use image node_id 2 for calling the TestQuaternion obj's underlying member method code with example usage: obj.assert_close(actual, expected, rtol, atol) without return types