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

Function set_python_backtrace_enabled

imperative/python/src/backtrace.cpp:192–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192bool set_python_backtrace_enabled(bool enabled) {
193 std::swap(enable_py_bt, enabled);
194 return enabled;
195}
196
197bool set_transformation_backtrace_enabled(bool enabled) {
198 std::swap(enable_trans_bt, enabled);

Callers 2

startMethod · 0.85
stopMethod · 0.85

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected