code: def setUp(self):
      super(PolicySaverTest, self).setUp()
      self._time_step_spec = ts.TimeStep(
          step_type=tensor_spec.BoundedTensorSpec(
              dtype=tf.int32, shape=(), name="st", minimum=0, maximum=2
          ),
          reward=tensor_spec.BoundedTensorSpec(
              dtype=tf.float32,
              shape=(),
              name="reward",
              minimum=0.0,
              maximum=5.0,
          ),
          discount=tensor_spec.BoundedTensorSpec(
              dtype=tf.float32,
              shape=(),
              name="discount",
              minimum=0.0,
              maximum=1.0,
          ),
          observation=tensor_spec.BoundedTensorSpec(
              dtype=tf.float32,
              shape=(4,),
              name="obs",
              minimum=-10.0,
              maximum=10.0,
          ),
      )
      self._action_spec = tensor_spec.BoundedTensorSpec(
          dtype=tf.int32, shape=(), minimum=0, maximum=10, name="act_0"
      )
      self._global_seed = 12345
      tf.compat.v1.set_random_seed(self._global_seed)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import os
  import shutil
  from absl.testing import parameterized
  import numpy
  import tensorflow
  import tensorflow_probability
  from tf_agents.networks import actor_distribution_network
  from tf_agents.networks import q_network
  from tf_agents.networks import q_rnn_network
  from tf_agents.policies import actor_policy
  from tf_agents.policies import policy_saver
  from tf_agents.policies import q_policy
  from tf_agents.policies import tf_policy
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import policy_step
  from tf_agents.trajectories import time_step
  from tf_agents.utils import common
  from tf_agents.utils import test_utils
label_desc: Use image node_id 1 for calling the PolicySaverTest obj's underlying member method code with example usage: obj.setUp() without return types