tf.compat.v1.quantize_v2

Please use tf.quantization.quantize instead.