Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ get_next
Method
get_next
imperative/python/megengine/device.py:50–53 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
48
self.stream = 1
49
50
def
get_next(self):
51
out = self.stream
52
self.stream = self.stream + 1
53
return
out
54
55
56
_sh = _stream_helper()
Callers
2
reset
Method · 0.80
__init__
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected