ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


A general quantization scheme is being developed in tf.contrib.quantize. (deprecated)

Consider using that instead, though since it is in the tf.contrib namespace, it is not subject to backward compatibility guarantees.

input_graph A GraphDef.
num_bits The number of bits for quantize training.

The graph with quantize training done.