code: def test_triplet_aqm(self, axis, device, dtype, atol, rtol):
      array = [[0.0, 0.0, 0.0]]
      array[0][axis] = kornia.pi / 2.0
      axis_angle = torch.tensor(array, device=device, dtype=dtype)
      assert axis_angle.shape[-1] == 3
  
      quaternion = kornia.geometry.conversions.axis_angle_to_quaternion(
          axis_angle
      )
      assert quaternion.shape[-1] == 4
  
      rot_m = kornia.geometry.conversions.quaternion_to_rotation_matrix(
          quaternion
      )
      assert rot_m.shape[-1] == 3
      assert rot_m.shape[-2] == 3
  
      axis_angle_hat = (
          kornia.geometry.conversions.rotation_matrix_to_axis_angle(
              rot_m
          )
      )
      assert_close(axis_angle_hat, axis_angle, atol=atol, rtol=rtol)
  
imports: import numpy
  import pytest
  import torch
  import kornia
  from kornia.testing import assert_close
label_desc: Use image node_id 4 for calling the TestQuaternionToRotationMatrixToAngleAxis obj's underlying member method code with example usage: obj.test_triplet_aqm(axis, device, dtype, atol, rtol) without return types