docstr: Checks the inputs of the inverse function.
docstr_tok: ["Checks","the","inputs","of","the","inverse","function","."]
code: def test_inverse_exception_raised(self, error_msg, *shapes):
      """Checks the inputs of the inverse function."""
      self.assert_exception_is_raised(
          rotation_matrix_2d.inverse, error_msg, shapes
      )
  
imports: from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  from tensorflow_graphics.geometry.transformation import rotation_matrix_2d
  from tensorflow_graphics.geometry.transformation.tests import test_data
  from tensorflow_graphics.geometry.transformation.tests import test_helpers
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 11 for calling the RotationMatrix2dTest obj's underlying member method code with example usage: obj.test_inverse_exception_raised(error_msg) without return types