Change quantize_graph in eightbit mode to remove FakeQuantWithMinMaxVars
nodes and use the information provided by them to set the min/max values
on quantization-related nodes.

In eightbit mode, also changed how constant weights are quantized - instead of
doing it as a step after the main recursion, do it during the main recursion.
This allows the float inputs to FakeQuantWithMinMaxVars to be excluded from
quantization.

In eightbit mode, maintain more state in the stack during recursion.

Also change quantize reshape registration to register always and not use
TF_CALL_xyz; this matches other quantized ops.
Change: 137877226
3 files changed
tree: 4c287e4b2e82927a87729b65edf9c8693f015a45
  1. tensorflow/
  2. third_party/
  3. tools/
  4. util/
  5. .gitignore
  6. .gitmodules
  7. ACKNOWLEDGMENTS
  8. ADOPTERS.md
  9. AUTHORS
  10. bower.BUILD
  11. BUILD
  12. configure
  13. CONTRIBUTING.md
  14. eigen.BUILD
  15. farmhash.BUILD
  16. gif.BUILD
  17. gmock.BUILD
  18. grpc.BUILD
  19. ISSUE_TEMPLATE.md
  20. jpeg.BUILD
  21. jsoncpp.BUILD
  22. LICENSE
  23. linenoise.BUILD
  24. nanopb.BUILD
  25. png.BUILD
  26. README.md
  27. RELEASE.md
  28. six.BUILD
  29. WORKSPACE
  30. zlib.BUILD
README.md
Linux CPULinux GPU PIPMac OS CPUAndroid
Build StatusBuild StatusBuild StatusBuild Status

TensorFlow is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) that flow between them. This flexible architecture lets you deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device without rewriting code. TensorFlow also includes TensorBoard, a data visualization toolkit.

TensorFlow was originally developed by researchers and engineers working on the Google Brain team within Google's Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research. The system is general enough to be applicable in a wide variety of other domains, as well.

If you'd like to contribute to TensorFlow, be sure to review the contribution guidelines.

We use GitHub issues for tracking requests and bugs, but please see Community for general questions and discussion.

Installation

See Download and Setup for instructions on how to install our release binaries or how to build from source.

People who are a little more adventurous can also try our nightly binaries:

Try your first TensorFlow program

$ python
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> sess.run(hello)
Hello, TensorFlow!
>>> a = tf.constant(10)
>>> b = tf.constant(32)
>>> sess.run(a+b)
42
>>>

##For more information

The TensorFlow community has created amazing things with TensorFlow, please see the resources section of tensorflow.org for an incomplete list.