Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ set_scope
Method
set_scope
imperative/src/impl/op_def.cpp:135–137 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
133
}
134
135
void OpDef::set_scope(const std::string& scope) {
136
m_scope = scope;
137
}
138
139
const std::string OpDef::make_name() const {
140
if (m_scope.empty())
Callers
5
py_set_scope
Function · 0.80
apply_on_var_node
Function · 0.80
apply_on_var_node
Function · 0.80
apply_transformation
Method · 0.80
remote_recv_rule
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected