docstr: Checks that assert_all_in_range raises no exceptions for valid input.
docstr_tok: ["Checks","that","assert_all_in_range","raises","no","exceptions","for","valid","input","."]
code: def test_assert_all_in_range_exception_not_raised(self, dtype):
      """Checks that assert_all_in_range raises no exceptions for valid 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)
      inside_vector = vector - eps
      ones_vector = tf.ones_like(vector)
  
      with self.subTest(name="inside_and_open_bounds"):
          self.assert_exception_is_not_raised(
              asserts.assert_all_in_range,
              shapes=[],
              vector=inside_vector,
              minval=-1.0,
              maxval=1.0,
              open_bounds=True,
          )
  
      with self.subTest(name="inside_and_close_bounds"):
          self.assert_exception_is_not_raised(
              asserts.assert_all_in_range,
              shapes=[],
              vector=inside_vector,
              minval=-1.0,
              maxval=1.0,
              open_bounds=False,
          )
  
      with self.subTest(name="exact_and_close_bounds"):
          self.assert_exception_is_not_raised(
              asserts.assert_all_in_range,
              shapes=[],
              vector=ones_vector,
              minval=-1.0,
              maxval=1.0,
              open_bounds=False,
          )
  
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 14 for calling the AssertsTest obj's underlying member method code with example usage: obj.test_assert_all_in_range_exception_not_raised(dtype) without return types