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

Class PushScope

imperative/src/impl/interpreter/commands.h:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124};
125
126struct PushScope {
127 std::string scope_name;
128 ScopeType type;
129
130 template <typename TFunctor>
131 void get_props(TFunctor&& functor) const {
132 functor("scope_name", scope_name);
133 }
134
135 const char* get_name() const { return "PushScope"; }
136};
137
138struct PopScope {
139 std::string scope_name;

Callers 1

backwardMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected