code: def testSameness(self):
      with flagsaver.flagsaver(vary_seed=False):
          self.assertAllEqual(
              test_util.test_seed(), test_util.test_seed()
          )
          self.assertAllEqual(
              test_util.test_seed_stream()(),
              test_util.test_seed_stream()(),
          )
          with flagsaver.flagsaver(fixed_seed=None):
              x = 47
              expected = _maybe_jax(x)
              self.assertAllEqual(
                  expected, test_util.test_seed(hardcoded_seed=x)
              )
  
imports: import collections
  from absl import flags
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import test_combinations
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.util.seed_stream import SeedStream
label_desc: Use image node_id 2 for calling the SeedSettingTest obj's underlying member method code with example usage: obj.testSameness() without return types