code: def testAllValuesQuantiize_SymmetricNarrowRangeTrainingAssign(self):
      min_value, max_value = self._GetMinMaxValues(
          quant_ops.AllValuesQuantize,
          [tf.constant([-1, 0.5])],
          symmetric=True,
          narrow_range=True,
      )
      self.assertEqual(min_value, -1.0)
      self.assertEqual(max_value, 1)
  
file_path: model-optimization/tensorflow_model_optimization/python/core/quantization/keras/quant_ops_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from tensorflow_model_optimization.python.core.keras import compat
  from tensorflow_model_optimization.python.core.quantization.keras import quant_ops
label_desc: Use image node_id 3 for calling the QuantOpsTest obj's underlying member method code with example usage: obj.testAllValuesQuantiize_SymmetricNarrowRangeTrainingAssign() without return types