pytorch/torch/csrc/jit/python
Supriya Rao 1f7ee7b6b7 [quant][graph] Add pass to insert quant dequant for dynamic quantization (#35448)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35448

Add _choose_qparams_per_tensor which returns scale and zero_point similar to the dynamic quantization in the operator

Test Plan:
python test/test_quantize_script.py

Imported from OSS

Differential Revision: D20755679

fbshipit-source-id: c9066d8f1bb3e331809be26c4be806faafc9b981
2020-03-30 23:33:32 -07:00
..
init.cpp [quant][graph] Add pass to insert quant dequant for dynamic quantization (#35448) 2020-03-30 23:33:32 -07:00
init.h
module_python.h [jit] kill script namespace (#34515) 2020-03-11 23:32:48 -07:00
pybind_utils.h [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
pybind.h [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
python_arg_flatten.cpp [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
python_arg_flatten.h
python_custom_class.cpp [reapply][JIT] Namespaces for TorchBind (#35254) 2020-03-24 00:39:48 -07:00
python_custom_class.h
python_interpreter.cpp [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
python_ir.cpp [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
python_ir.h [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
python_ivalue.h [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
python_sugared_value.cpp [jit] Fix named tuple resolution (#35409) 2020-03-27 17:07:26 -07:00
python_sugared_value.h [jit] Fix named tuple resolution (#35409) 2020-03-27 17:07:26 -07:00
python_tracer.cpp [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
python_tracer.h [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
python_tree_views.cpp [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
python_tree_views.h [jit] kill script namespace (#34515) 2020-03-11 23:32:48 -07:00
script_init.cpp clang-format. (#35605) 2020-03-28 11:45:06 -07:00
script_init.h [jit] kill script namespace (#34515) 2020-03-11 23:32:48 -07:00
update_graph_executor_opt.cpp [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
update_graph_executor_opt.h [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00