mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/39795 Replaces the `is_dynamic` bool by enums in Python and c++ graph quantization code. This makes the code more readable and will make it easier to modify for adding QAT logic in the future. Test Plan: CI, as well as ``` python test/test_quantization.py TestQuantizeDynamicScript python test/test_quantization.py TestQuantizeScriptJitPasses ``` Imported from OSS Differential Revision: D21981643 fbshipit-source-id: d475760407bcc794aeae92a2c696bac4acda843d |
||
|---|---|---|
| .. | ||
| init.cpp | ||
| init.h | ||
| module_python.h | ||
| pybind_utils.h | ||
| pybind.h | ||
| python_arg_flatten.cpp | ||
| python_arg_flatten.h | ||
| python_custom_class.cpp | ||
| python_custom_class.h | ||
| python_interpreter.cpp | ||
| python_ir.cpp | ||
| python_ir.h | ||
| python_ivalue.h | ||
| python_sugared_value.cpp | ||
| python_sugared_value.h | ||
| python_tracer.cpp | ||
| python_tracer.h | ||
| python_tree_views.cpp | ||
| python_tree_views.h | ||
| script_init.cpp | ||
| script_init.h | ||
| update_graph_executor_opt.cpp | ||
| update_graph_executor_opt.h | ||