MCPcopy 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

trainMethod · 0.95
__exit__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