Add `scope` parameter in experimental Quantization API.
authorYu-Cheng Ling <ycling@google.com>
Mon, 9 Apr 2018 17:48:10 +0000 (10:48 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 9 Apr 2018 17:51:47 +0000 (10:51 -0700)
commit7576a99c49679dc17ff806acb1a5150f5d16ee58
tree005681689fdcaf4c46a03a6ca605df415fed77fc
parent1ad181b6334ec339ab823cd122e19b7a1ad1a6f7
Add `scope` parameter in experimental Quantization API.

This enables quantizing subgraphs of the entire graph. It's useful for networks
like Inception since we don't want to quantize the AuxLogits scope.

PiperOrigin-RevId: 192150416
tensorflow/contrib/quantize/python/quantize.py
tensorflow/contrib/quantize/python/quantize_graph.py
tensorflow/contrib/quantize/python/quantize_graph_test.py
tensorflow/contrib/quantize/python/quantize_test.py