Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ enable
Method
enable
imperative/python/megengine/quantization/observer.py:50–51 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
48
self.enabled = True
49
50
def
enable(self):
51
self.enabled = True
52
53
def
disable(self):
54
self.enabled = False
Callers
6
train
Method · 0.95
__enter__
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