docstr: Check that invalid inputs trigger the right exception.
code: def test_input_rank_exception_raised(self, *shapes):
      """Check that invalid inputs trigger the right exception."""
      self.assert_exception_is_raised(
          utils.unflatten_2d_to_batch,
          "data must have a rank of 2",
          shapes,
      )
  
imports: from absl.testing import parameterized
  import numpy
  from scipy import linalg
  import tensorflow
  from tensorflow_graphics.geometry.convolution import utils
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 1 for calling the UtilsUnflatten2dToBatchTest obj's underlying member method code with example usage: obj.test_input_rank_exception_raised() without return types