code: def testQuantizeAnnotate_FailsWithModel(self):
      layer = keras.layers.Dense(
          5, activation="relu", input_shape=(10,)
      )
      model = keras.Sequential([layer])
  
      with self.assertRaises(ValueError):
          quantize_annotate.QuantizeAnnotate(model)
  
file_path: model-optimization/tensorflow_model_optimization/python/core/quantization/keras/quantize_annotate_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_annotate
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_config
label_desc: Use image node_id 4 for calling the QuantizeAnnotateTest obj's underlying member method code with example usage: obj.testQuantizeAnnotate_FailsWithModel() without return types