[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tf.compat.v1.train.do_quantize_training_on_graphdef\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.16.1/tensorflow/python/training/quantize_training.py#L23-L46) |\n\nA general quantization scheme is being developed in `tf.contrib.quantize`. (deprecated) \n\n tf.compat.v1.train.do_quantize_training_on_graphdef(\n input_graph, num_bits\n )\n\n| **Deprecated:** 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.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|---------------|-------------------------------------------|\n| `input_graph` | A `GraphDef`. |\n| `num_bits` | The number of bits for quantize training. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| The graph with quantize training done. ||\n\n\u003cbr /\u003e"]]