docstr: Checks that stateless_random_shuffle is stateless.
docstr_tok: ["Checks","that","stateless_random_shuffle","is","stateless","."]
code: def testOutputIsStateless(self):
      """Checks that stateless_random_shuffle is stateless."""
      random_permutation_next_call = None
      for dtype in (tf.int32, tf.int64, tf.float32, tf.float64):
          random_permutation = tff_rnd.stateless_random_shuffle(
              tf.range(10, dtype=dtype), seed=(100, 42)
          )
          random_permutation_first_call = self.evaluate(
              random_permutation
          )
          if random_permutation_next_call is not None:
              # Checks that the values are the same across different dtypes
              np.testing.assert_array_equal(
                  random_permutation_first_call,
                  random_permutation_next_call,
              )
          random_permutation_next_call = self.evaluate(
              random_permutation
          )
          np.testing.assert_array_equal(
              random_permutation_first_call,
              random_permutation_next_call,
          )
  
file_path: tf-quant-finance/tf_quant_finance/math/random_ops/stateless_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 StatelessRandomOpsTest obj's underlying member method code with example usage: obj.testOutputIsStateless() without return types