docstr: Tests stateless pseudo random numbers.
docstr_tok: ["Tests","stateless","pseudo","random","numbers","."]
code: def test_stateless(self):
      """Tests stateless pseudo random numbers."""
      sample_shape = [2, 3, 5000]
      dim = 10
      sample = self.evaluate(
          tff_rnd.uniform(
              dim=dim,
              sample_shape=sample_shape,
              random_type=tff_rnd.RandomType.STATELESS,
              seed=[2, 2],
          )
      )
      np.testing.assert_array_equal(sample.shape, sample_shape + [dim])
      expected_mean = 0.5 * np.ones(sample_shape[:-1] + [dim])
      np.testing.assert_array_almost_equal(
          np.mean(sample, axis=2), expected_mean, decimal=2
      )
  
file_path: tf-quant-finance/tf_quant_finance/math/random_ops/uniform_test.py
imports: import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 2 for calling the UniformTest obj's underlying member method code with example usage: obj.test_stateless() without return types