code: def testSetsQuantizeWeights_ErrorOnWrongShapeOfWeight(self):
      layer = self._simple_dense_layer()
      quantize_kernel = K.variable(np.ones([1, 2]))
  
      quantize_config = (
          default_8bit_quantize_registry.Default8BitQuantizeConfig(
              ["kernel"], ["activation"], False
          )
      )
  
      with self.assertRaises(ValueError):
          quantize_config.set_quantize_weights(layer, [quantize_kernel])
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import unittest
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras import quantizers
  from tensorflow_model_optimization.python.core.quantization.keras import utils
  from tensorflow_model_optimization.python.core.quantization.keras.default_8bit import default_8bit_quantize_registry
label_desc: Use image node_id 7 for calling the Default8BitQuantizeConfigTest obj's underlying member method code with example usage: obj.testSetsQuantizeWeights_ErrorOnWrongShapeOfWeight() without return types