code: def testSetParametersWeightsWrongNumberOfObjectivesRaisesValueError(
      self,
  ):
      with self.assertRaisesRegex(
          ValueError,
          "The number of objectives in scalarization parameter",
      ):
          self._scalarizer.set_parameters(
              weights=tf.constant(
                  [[0.1, 0.2, 0.3]] * 3, dtype=tf.float32
              ),
              reference_point=tf.constant(
                  [[-5, -5, -5, -5]] * 3, 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 7 for calling the ChebyShevScalarizerTest obj's underlying member method code with example usage: obj.testSetParametersWeightsWrongNumberOfObjectivesRaisesValueError() without return types