Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ classof
Method
classof
imperative/tablegen/helper.h:139–141 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
137
138
public:
139
static bool classof(const Operator* op) {
140
return op->getDef().isSubClassOf(
"MgbOp"
);
141
}
142
143
std::vector<NamedAttribute> getMgbAttributes() const {
144
std::vector<NamedAttribute> ret;
Callers
nothing calls this directly
Calls
1
getDef
Method · 0.80
Tested by
no test coverage detected