Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ is_bad_opr
Function
is_bad_opr
src/core/impl/graph/seq_dtr.cpp:10–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
namespace {
9
10
bool is_bad_opr(OperatorNodeBase* opr) {
11
using F = OperatorNodeBase::NodeProp::Flag;
12
return opr->node_prop().contain(
13
F::IMPURE_FUNC | F::NO_AUTOMATIC_DUP | F::FORCE_UPDATE_INPUT_VAR);
14
}
15
16
} // namespace
17
Callers
1
perform_dtr
Method · 0.70
Calls
1
contain
Method · 0.45
Tested by
no test coverage detected