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

Function load_trace_events

imperative/python/megengine/utils/profiler.py:273–275  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

271 )
272
273 def load_trace_events(name):
274 with open(os.path.join(directory, name), "r", encoding="utf-8") as f:
275 return json.load(f)
276
277 def find_metadata(content):
278 if isinstance(content, dict):

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected