Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ __init__
Method
__init__
deepspeed/utils/timer.py:124–125 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
122
return
self.total_elapsed_msec / self.num_intervals
123
124
def
__init__(self):
125
self.timers = {}
126
127
def
get_timers(self):
128
return
self.timers
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected