Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ get_cache_id
Function
get_cache_id
imperative/python/test/unit/utils/test_profiler.py:135–136 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
133
cache_id = []
134
135
def
get_cache_id():
136
cache_id.append(_get_frame_cache_id())
137
138
threads = [threading.Thread(target=get_cache_id)
for
i in range(10)]
139
for
t in threads:
Callers
nothing calls this directly
Calls
1
append
Method · 0.45
Tested by
no test coverage detected