Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ASLP-lab/OSUM
/ __init__
Method
__init__
OSUM/wenet/utils/common.py:343–345 ·
view source on GitHub ↗
(self, step=0.0)
Source
from the content-addressed store, hash-verified
341
""
"Utility class for measuring steps/second."
""
342
343
def
__init__(self, step=0.0):
344
self.last_iteration = step
345
self.start()
346
347
def
start(self):
348
self.last_time = time.time()
Callers
nothing calls this directly
Calls
1
start
Method · 0.95
Tested by
no test coverage detected