Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ fmt
Function
fmt
imperative/python/megengine/tools/profile_analyze.py:203–206 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
201
if
args.copy_time:
202
203
def
fmt(a, b):
204
a = a[0]
205
b = b[0]
206
return
"tot={:.4f} avg={:.4f}"
.format(a.time, b.time)
207
208
tab.append(
209
(
Callers
1
summary
Function · 0.85
Calls
1
format
Method · 0.45
Tested by
no test coverage detected