MCPcopy 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

trainMethod · 0.95
__enter__Method · 0.45
_enable_execMethod · 0.45
run_dtr_resnet1202Function · 0.45
checkFunction · 0.45

Calls

no outgoing calls

Tested by 3

run_dtr_resnet1202Function · 0.36
checkFunction · 0.36