code: def test_identical_rng_states():
      eager_state_1 = eager.rng_state(seed=42)
      eager_state_2 = eager.rng_state(seed=42)
  
      out_1_1 = eager_state_1.random.normal(shape=[5, 5], batch_size=8)
      out_1_2 = eager_state_1.noise.gaussian(out_1_1)
      out_1_3 = eager_state_1.random.normal(shape=[5, 5], batch_size=8)
  
      out_2_1 = eager_state_2.random.normal(shape=[5, 5], batch_size=8)
      out_2_2 = eager_state_2.noise.gaussian(out_2_1)
      out_2_3 = eager_state_2.random.normal(shape=[5, 5], batch_size=8)
  
      assert np.allclose(out_1_1.as_tensor(), out_2_1.as_tensor())
      assert np.allclose(out_1_2.as_tensor(), out_2_2.as_tensor())
      assert np.allclose(out_1_3.as_tensor(), out_2_3.as_tensor())
  
file_path: DALI/dali/test/python/test_eager_operators.py
imports: import numpy
  import os
  from nvidia.dali import fn
  from nvidia.dali import pipeline_def
  from nvidia.dali import ops
  from nvidia.dali import tensors
  from nvidia.dali.experimental import eager
  from nose_utils import assert_raises, raises
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 7 for calling a global function with example usage: test_identical_rng_states() without return types