code: def test_inverse_transform(self):
      image, coords, h, w = self.randomData(h=5, w=8)
      rot = RotationTransform(h, w, 90, expand=True, center=None)
      rot_image = rot.apply_image(image)
      self.assertEqualsArrays(
          rot.inverse().apply_image(rot_image), image
      )
      rot = RotationTransform(h, w, 65, expand=True, center=None)
      rotated_coords = rot.apply_coords(coords)
      self.assertEqualsArrays(
          rot.inverse().apply_coords(rotated_coords), coords
      )
  
file_path: detectron2/tests/data/test_rotation_transform.py
imports: import numpy
  import unittest
  from detectron2.data.transforms.transform import RotationTransform
label_desc: Use image node_id 8 for calling the TestRotationTransform obj's underlying member method code with example usage: obj.test_inverse_transform() without return types