docstr: Sobol random dtype results in the correct draws.
docstr_tok: ["Sobol","random","dtype","results","in","the","correct","draws","."]
code: def test_sobol_numbers_generation(self, dtype):
      """Sobol random dtype results in the correct draws."""
      num_draws = tf.constant(2, dtype=tf.int32)
      steps_num = tf.constant(3, dtype=tf.int32)
      num_samples = tf.constant(4, dtype=tf.int32)
      random_type = tff.math.random.RandomType.SOBOL
      skip = 10
      samples = utils.generate_mc_normal_draws(
          num_normal_draws=num_draws,
          num_time_steps=steps_num,
          num_sample_paths=num_samples,
          random_type=random_type,
          dtype=dtype,
          skip=skip,
      )
      expected_samples = [
          [
              [0.8871465, 0.48877636],
              [-0.8871465, -0.48877636],
              [0.48877636, 0.8871465],
              [-0.15731068, 0.15731068],
          ],
          [
              [0.8871465, -1.5341204],
              [1.5341204, -0.15731068],
              [-0.15731068, 1.5341204],
              [-0.8871465, 0.48877636],
          ],
          [
              [-0.15731068, 1.5341204],
              [0.15731068, -0.48877636],
              [-1.5341204, 0.8871465],
              [0.8871465, -1.5341204],
          ],
      ]
      self.assertAllClose(
          samples, expected_samples, rtol=1e-5, atol=1e-5
      )
  
file_path: tf-quant-finance/tf_quant_finance/models/utils_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
  from tf_quant_finance.models import utils
label_desc: Use image node_id 1 for calling the UtilsTest obj's underlying member method code with example usage: obj.test_sobol_numbers_generation(dtype) without return types