W3cubDocs

/TensorFlow Python

tf.train.do_quantize_training_on_graphdef

tf.train.do_quantize_training_on_graphdef(
    input_graph,
    num_bits
)

Defined in tensorflow/python/pywrap_tensorflow_internal.py.

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

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

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/train/do_quantize_training_on_graphdef