Browse Source

fix(mge/quantization): fix enable observer bug

GitOrigin-RevId: 493cf9dea9
tags/v1.0.0-rc1
Megvii Engine Team Xinran Xu 5 years ago
parent
commit
7a8183f4e0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      python_module/megengine/quantization/quantize.py

+ 1
- 1
python_module/megengine/quantization/quantize.py View File

@@ -175,4 +175,4 @@ def enable_observer(module: Module):
:param module: root module to do enable observer recursively. :param module: root module to do enable observer recursively.
""" """


_propagate(module, "set_observer", False)
_propagate(module, "set_observer", True)

Loading…
Cancel
Save