code: def test_deterministic_tensorflow():
      """Test deterministic behavior of Tensorflow"""
      deterministic.set_seed(0)
      with tf.compat.v1.Session() as sess:
          rand_tensor = sess.run(
              tf.random.uniform((5, 5), seed=0, dtype=tf.dtypes.float32)
          )
      deterministic_tensor = np.array(
          [
              [
                  0.10086262,
                  0.9701668,
                  0.8487642,
                  0.04828131,
                  0.04852307,
              ],
              [0.77747464, 0.844468, 0.41707492, 0.5099584, 0.6552025],
              [
                  0.9881507,
                  0.36698937,
                  0.37789786,
                  0.69118714,
                  0.99544394,
              ],
              [0.4662125, 0.9912039, 0.6973165, 0.7741407, 0.8881662],
              [
                  0.03854167,
                  0.97539485,
                  0.23024535,
                  0.83840847,
                  0.79527795,
              ],
          ],
          dtype=np.float32,
      )
  
      assert np.allclose(rand_tensor, deterministic_tensor)
  
file_path: garage/tests/garage/experiment/test_deterministic.py
imports: import random
  import numpy
  import tensorflow
  import torch
  from garage.experiment import deterministic
label_desc: Use image node_id 2 for calling a global function with example usage: test_deterministic_tensorflow() without return types