docstr: Tests if quaternion_weights raise exceptions for unnormalized input.
docstr_tok: ["Tests","if","quaternion_weights","raise","exceptions","for","unnormalized","input","."]
code: def test_unnormalized_quaternion_weights_exception_raised(self):
      """Tests if quaternion_weights raise exceptions for unnormalized input."""
      q1 = self._pick_random_quaternion()
      q2 = tf.nn.l2_normalize(q1, axis=-1)
      p = tf.constant((0.5), dtype=q1.dtype)
  
      with self.assertRaises(tf.errors.InvalidArgumentError):
          self.evaluate(slerp.quaternion_weights(q1, q2, p))
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.math.interpolation import slerp
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 8 for calling the SlerpTest obj's underlying member method code with example usage: obj.test_unnormalized_quaternion_weights_exception_raised() without return types