code: def setUp(self):
      super(MultiObjectiveAgentTest, self).setUp()
      tf.compat.v1.enable_resource_variables()
      self._time_step_spec = ts.time_step_spec(
          observation_spec=tensor_spec.TensorSpec([2], tf.float32),
          reward_spec=tensor_spec.TensorSpec([3], tf.float32),
      )
      self._action_spec = tensor_spec.BoundedTensorSpec(
          dtype=tf.int32, shape=(), minimum=0, maximum=2
      )
      self._observation_spec = self._time_step_spec.observation
      hv_params = [
          multi_objective_scalarizer.HyperVolumeScalarizer.PARAMS(
              slope=1, offset=0
          )
      ] * 3
      self._scalarizer = (
          multi_objective_scalarizer.HyperVolumeScalarizer(
              [0, 1, 0.01], hv_params
          )
      )
      self._bias = np.asarray([-1, -1, -1])
      self._kernel_weights = [
          np.asarray([[1, 2, 3], [4, 5, 6]]),
          np.asarray([[3, 1, 2], [5, 4, 6]]),
          np.asarray([[2, 3, 1], [5, 6, 4]]),
      ]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  from typing import List, Tuple
  import numpy
  import tensorflow
  from tf_agents.bandits.agents import greedy_multi_objective_neural_agent
  from tf_agents.bandits.drivers import driver_utils
  from tf_agents.bandits.multi_objective import multi_objective_scalarizer
  from tf_agents.bandits.networks import global_and_arm_feature_network
  from tf_agents.bandits.networks import heteroscedastic_q_network
  from tf_agents.bandits.specs import utils
  from tf_agents.networks import network
  from tf_agents.policies import utils
  from tf_agents.specs import array_spec
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import policy_step
  from tf_agents.trajectories import time_step
  from tf_agents.typing import types
  from tf_agents.utils import common
label_desc: Use image node_id 1 for calling the MultiObjectiveAgentTest obj's underlying member method code with example usage: obj.setUp() without return types