code: def testObjectiveTranformation(self):
      hv_params = copy.deepcopy(self._hv_params)
      hv_params[
          0
      ] = multi_objective_scalarizer.HyperVolumeScalarizer.PARAMS(
          slope=-1, offset=2
      )
      direction = [1, 0, 0]
      scalarizer = multi_objective_scalarizer.HyperVolumeScalarizer(
          direction, hv_params
      )
      self.assertAllEqual(
          self.evaluate(
              scalarizer(-1.0 * self._batch_multi_objectives)
          ),
          self.evaluate(tf.constant([5, 8], dtype=tf.float32)),
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  import tensorflow.compat.v2
  from tf_agents.bandits.multi_objective import multi_objective_scalarizer
label_desc: Use image node_id 11 for calling the HyperVolumeScalarizerTest obj's underlying member method code with example usage: obj.testObjectiveTranformation() without return types