MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / disable

Method disable

imperative/python/src/module_trace.h:58–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 void enable() { m_enabled = 1; }
57
58 void disable() { m_enabled = 0; }
59
60 bool enabled() const { return m_enabled; }
61

Callers 2

init_tensorFunction · 0.45
init_utilsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected