code: def test_lattice_rule_sample_with_tent_transform(self):
      expected = tf.constant(
          [
              [0.000, 0.000, 0.000, 0.000, 0.000],
              [0.250, 0.750, 0.250, 0.750, 0.250],
              [0.500, 0.500, 0.500, 0.500, 0.500],
              [0.750, 0.250, 0.750, 0.250, 0.750],
              [1.000, 1.000, 1.000, 1.000, 1.000],
              [0.750, 0.250, 0.750, 0.250, 0.750],
              [0.500, 0.500, 0.500, 0.500, 0.500],
              [0.250, 0.750, 0.250, 0.750, 0.250],
          ],
          dtype=tf.float32,
      )
  
      actual = qmc.lattice_rule_sample(
          self.generating_vectors(),
          5,
          8,
          apply_tent_transform=True,
          validate_args=True,
      )
  
      with self.subTest("Values"):
          self.assertAllClose(
              self.evaluate(actual), self.evaluate(expected), rtol=1e-6
          )
      with self.subTest("DType"):
          self.assertEqual(actual.dtype, expected.dtype)
  
file_path: tf-quant-finance/tf_quant_finance/math/qmc/lattice_rule_test.py
imports: import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 8 for calling the LatticeRuleTest obj's underlying member method code with example usage: obj.test_lattice_rule_sample_with_tent_transform() without return types