[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.train.do_quantize_training_on_graphdef\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/pywrap_tensorflow_internal.py#L2456-L2474) |\n\nA general quantization scheme is being developed in [`tf.contrib.quantize`](../../tf/contrib/quantize). (deprecated)\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.train.do_quantize_training_on_graphdef`](/api_docs/python/tf/compat/v1/train/do_quantize_training_on_graphdef)\n\n\u003cbr /\u003e\n\n tf.train.do_quantize_training_on_graphdef(\n input_graph, num_bits\n )\n\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: GraphDef quantized training rewriter is deprecated in the long term\n\nConsider using that instead, though since it is in the tf.contrib namespace,\nit is not subject to backward compatibility guarantees."]]