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

Method enabled

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

Source from the content-addressed store, hash-verified

58 void disable() { m_enabled = 0; }
59
60 bool enabled() const { return m_enabled; }
61
62 ValueRef unwrap(ValueRef value) override { return value; }
63

Callers 3

_is_external_valueMethod · 0.45
init_tensorFunction · 0.45
enable_fastpathFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected