code: def test_iid_sample_stateless(self):
      sample_shape = [6]
      iid_fn = vectorization_util.iid_sample(
          tf.random.stateless_normal, sample_shape=sample_shape
      )
  
      warnings.simplefilter("always")
      with warnings.catch_warnings(record=True) as triggered:
          samples = iid_fn(
              [], seed=test_util.test_seed(sampler_type="stateless")
          )
          self.assertTrue(
              any(
                  "may be quite slow" in str(warning.message)
                  for warning in triggered
              )
          )
  
      # Check that we did not get repeated samples.
      samples_ = self.evaluate(samples)
      self.assertAllGreater((samples_[1:] - samples_[0]) ** 2, 1e-6)
  
imports: import warnings
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import lognormal
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.distributions import poisson
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.internal import vectorization_util
label_desc: Use image node_id 2 for calling the VectorizationTest obj's underlying member method code with example usage: obj.test_iid_sample_stateless() without return types