code: def testExampleDoc1(self):
      seed = tfp_test_util.test_seed(sampler_type="stateless")
      model = TestModel()
  
      num_seeds = len(tf.nest.flatten(model.dtype))
      flat_seed = tf.unstack(
          tfp.random.split_seed(seed, num_seeds), axis=0
      )
      seed = tf.nest.pack_sequence_as(model.dtype, flat_seed)
  
      unconstrained_values = tf.nest.map_structure(
          lambda d, s, seed: tf.random.stateless_normal(
              s, dtype=d, seed=seed
          ),
          model.dtype,
          model.event_shape,
          seed,
      )
      constrained_values = nest.map_structure_up_to(
          model.default_event_space_bijector,
          lambda b, v: b(v),
          model.default_event_space_bijector,
          unconstrained_values,
      )
      self.assertGreaterEqual(self.evaluate(constrained_values), 0.0)
  
file_path: probability/spinoffs/inference_gym/inference_gym/targets/model_test.py
imports: import numpy
  import tensorflow.compat.v2
  import tensorflow_probability
  from tensorflow_probability.python.internal import test_util
  from inference_gym import targets
  from inference_gym.internal import test_util
  from tensorflow.python.util import nest
label_desc: Use image node_id 1 for calling the ModelTest obj's underlying member method code with example usage: obj.testExampleDoc1() without return types