docstr: Checks that assert_all_above raises exceptions for invalid input.
docstr_tok: ["Checks","that","assert_all_above","raises","exceptions","for","invalid","input","."]
code: def test_assert_all_above_exception_raised(self, dtype):
      """Checks that assert_all_above raises exceptions for invalid input."""
      vector = _pick_random_vector()
      vector = tf.convert_to_tensor(value=vector, dtype=dtype)
  
      vector = vector * vector
      vector /= -tf.reduce_max(
          input_tensor=vector, axis=-1, keepdims=True
      )
      eps = asserts.select_eps_for_addition(dtype)
      outside_vector = vector - eps
      ones_vector = -tf.ones_like(vector)
  
      with self.subTest(name="outside_and_open_bounds"):
          with self.assertRaises(tf.errors.InvalidArgumentError):
              self.evaluate(
                  asserts.assert_all_above(
                      outside_vector, -1.0, open_bound=True
                  )
              )
  
      with self.subTest(name="outside_and_close_bounds"):
          with self.assertRaises(tf.errors.InvalidArgumentError):
              self.evaluate(
                  asserts.assert_all_above(
                      outside_vector, -1.0, open_bound=False
                  )
              )
  
      with self.subTest(name="exact_and_open_bounds"):
          with self.assertRaises(tf.errors.InvalidArgumentError):
              self.evaluate(
                  asserts.assert_all_above(
                      ones_vector, -1.0, open_bound=True
                  )
              )
  
imports: from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.util import asserts
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 9 for calling the AssertsTest obj's underlying member method code with example usage: obj.test_assert_all_above_exception_raised(dtype) without return types