Initial implementation of InsertObserverNodes pass. (#18152)
authorMikhail Zolotukhin <mvz@fb.com>
Fri, 29 Mar 2019 22:01:36 +0000 (15:01 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 29 Mar 2019 22:08:57 +0000 (15:08 -0700)
commitfca9d9a1003dbd96820be2cf06e338652bac8ddf
treeea8c54f554b7d9d0872fb7dc53f370306b2dde9e
parent84f020fe098bfaad308bd820869fafa44d3d4fff
Initial implementation of InsertObserverNodes pass. (#18152)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18152
ghimport-source-id: 1dd5e62c4d93394dcd8d8af2871554575c8d3d1a

Stack from [ghstack](https://github.com/ezyang/ghstack):
* **#18152 Initial implementation of InsertObserverNodes pass.**
* #18151 Add quant-passes stubs.

gh-metadata: pytorch pytorch 18150 gh/zolotukhinm@gmail.com/2/head

Differential Revision: D14584223

fbshipit-source-id: 30896acc1a8901d22c6a167eb87d2fbaafbbeb6f
test/test_jit.py
torch/csrc/jit/init.cpp
torch/csrc/jit/passes/quantization.cpp
torch/csrc/jit/passes/quantization.h