code: def testCallWrongBatchSizeRaisesValueError(self):
      with self.assertRaisesRegex(
          ValueError, "does not match the shape of"
      ):
          self._scalarizer.set_parameters(
              tf.constant(
                  [
                      [0.1, 0.2, 0.3, -0.1],
                      [-0.1, 0.2, 0.3, 0.1],
                      [0.1, -0.2, 0.3, 0.1],
                      [0.1, 0.2, -0.3, 0.1],
                  ],
                  dtype=tf.float32,
              )
          )
          self.evaluate(self._scalarizer(self._batch_multi_objectives))
  
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 8 for calling the LinearScalarizerTest obj's underlying member method code with example usage: obj.testCallWrongBatchSizeRaisesValueError() without return types