code: def testQuantizesTensors(self):
      model = tf.keras.Sequential(
          [QuantizeLayer(quantizer=self.quantizer, input_shape=(4,))]
      )
  
      x = np.random.rand(1, 4)
      quant_x = tf.quantization.fake_quant_with_min_max_vars(
          x, -6.0, 6.0, **self.quant_params
      )
  
      self.assertAllClose(self.evaluate(quant_x), model.predict(x))
  
file_path: model-optimization/tensorflow_model_optimization/python/core/quantization/keras/quantize_layer_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_layer
  from tensorflow_model_optimization.python.core.quantization.keras import quantizers
label_desc: Use image node_id 2 for calling the QuantizeLayerTest obj's underlying member method code with example usage: obj.testQuantizesTensors() without return types