code: def test_more_known_values(self):
      # The first 31 elements of the non-randomized Sobol sequence
      # with dimension 5
      sample = random.sobol.sample(5, 31)
      # These are in the Gray code order.
      expected = [
          [0.5, 0.5, 0.5, 0.5, 0.5],
          [0.75, 0.25, 0.25, 0.25, 0.75],
          [0.25, 0.75, 0.75, 0.75, 0.25],
          [0.375, 0.375, 0.625, 0.875, 0.375],
          [0.875, 0.875, 0.125, 0.375, 0.875],
          [0.625, 0.125, 0.875, 0.625, 0.625],
          [0.125, 0.625, 0.375, 0.125, 0.125],
          [0.1875, 0.3125, 0.9375, 0.4375, 0.5625],
          [0.6875, 0.8125, 0.4375, 0.9375, 0.0625],
          [0.9375, 0.0625, 0.6875, 0.1875, 0.3125],
          [0.4375, 0.5625, 0.1875, 0.6875, 0.8125],
          [0.3125, 0.1875, 0.3125, 0.5625, 0.9375],
          [0.8125, 0.6875, 0.8125, 0.0625, 0.4375],
          [0.5625, 0.4375, 0.0625, 0.8125, 0.1875],
          [0.0625, 0.9375, 0.5625, 0.3125, 0.6875],
          [0.09375, 0.46875, 0.46875, 0.65625, 0.28125],
          [0.59375, 0.96875, 0.96875, 0.15625, 0.78125],
          [0.84375, 0.21875, 0.21875, 0.90625, 0.53125],
          [0.34375, 0.71875, 0.71875, 0.40625, 0.03125],
          [0.46875, 0.09375, 0.84375, 0.28125, 0.15625],
          [0.96875, 0.59375, 0.34375, 0.78125, 0.65625],
          [0.71875, 0.34375, 0.59375, 0.03125, 0.90625],
          [0.21875, 0.84375, 0.09375, 0.53125, 0.40625],
          [0.15625, 0.15625, 0.53125, 0.84375, 0.84375],
          [0.65625, 0.65625, 0.03125, 0.34375, 0.34375],
          [0.90625, 0.40625, 0.78125, 0.59375, 0.09375],
          [0.40625, 0.90625, 0.28125, 0.09375, 0.59375],
          [0.28125, 0.28125, 0.15625, 0.21875, 0.71875],
          [0.78125, 0.78125, 0.65625, 0.71875, 0.21875],
          [0.53125, 0.03125, 0.40625, 0.46875, 0.46875],
          [0.03125, 0.53125, 0.90625, 0.96875, 0.96875],
      ]
      # Because sobol.sample computes points in the original order,
      # not Gray code order, we ignore the order and only check that the sets of
      # rows are equal.
      self.assertAllClose(
          sorted(tuple(row) for row in expected),
          sorted(tuple(row) for row in self.evaluate(sample)),
          rtol=1e-6,
      )
  
file_path: tf-quant-finance/tf_quant_finance/math/random_ops/sobol/sobol_test.py
imports: import numpy
  import tensorflow.compat.v2
  import tensorflow_probability
  from tensorflow.python.framework import test_util
  from tf_quant_finance.math import random
label_desc: Use image node_id 2 for calling the SampleSobolSequenceTest obj's underlying member method code with example usage: obj.test_more_known_values() without return types