Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ pop_scope
Method
pop_scope
imperative/python/megengine/utils/naming.py:30–33 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
28
29
@classmethod
30
def
pop_scope(cls):
31
scope = cls.scopes.pop()
32
if
scope is not None:
33
pop_scope(scope)
34
35
@classmethod
36
def
get_scope(cls):
Callers
2
__call__
Method · 0.45
init_tensor
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected