Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
192
bool set_python_backtrace_enabled(bool enabled) {
193
std::swap(enable_py_bt, enabled);
194
return enabled;
195
}
196
197
bool set_transformation_backtrace_enabled(bool enabled) {
198
std::swap(enable_trans_bt, enabled);
Callers
2
start
Method · 0.85
stop
Method · 0.85
Calls
1
swap
Function · 0.85
Tested by
no test coverage detected