Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ disable
Method
disable
imperative/python/megengine/quantization/observer.py:53–54 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
51
self.enabled = True
52
53
def
disable(self):
54
self.enabled = False
55
56
def
train(self, mode: bool = True, recursive: bool = True) -> None:
57
super().train(mode, recursive)
Callers
6
train
Method · 0.95
__exit__
Method · 0.45
_enable_exec
Method · 0.45
run_dtr_drop_copy_dev_tensor
Function · 0.45
run_dtr_resnet1202
Function · 0.45
check
Function · 0.45
Calls
no outgoing calls
Tested by
3
run_dtr_drop_copy_dev_tensor
Function · 0.36
run_dtr_resnet1202
Function · 0.36
check
Function · 0.36