code: def test_random_scrambling_vectors_with_dtype(self):
      dim = 20
      seed = (2, 3)
  
      for dtype in [tf.float32, tf.float64]:
          actual = qmc.random_scrambling_vectors(
              dim, seed, dtype=dtype, validate_args=True
          )
  
          with self.subTest("Shape"):
              self.assertEqual(actual.shape, (dim,))
          with self.subTest("DType"):
              self.assertEqual(actual.dtype, dtype)
          with self.subTest("Min Value"):
              self.assertAllLess(actual, tf.ones(shape=(), dtype=dtype))
          with self.subTest("Max Value"):
              self.assertAllGreaterEqual(
                  actual, tf.zeros(shape=(), dtype=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 3 for calling the LatticeRuleTest obj's underlying member method code with example usage: obj.test_random_scrambling_vectors_with_dtype() without return types