code: def testEagerSeed(self):
      with context.eager_mode():
          # Ensure a context has been created
          random_ops.random_normal([])
          # Set the same seed twice and check that the values match
          context.set_global_seed(42)
          rnd1 = random_ops.random_normal([])
          context.set_global_seed(42)
          rnd2 = random_ops.random_normal([])
          self.assertAllEqual(rnd1, rnd2)
  
imports: import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import config
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import random_seed
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_random_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 9 for calling the TruncatedNormalTest obj's underlying member method code with example usage: obj.testEagerSeed() without return types