RSVP for your your local TensorFlow Everywhere event today!

tf.compat.v1.quantize_v2

Please use tf.quantization.quantize instead.