MCPcopy Create free account
hub / github.com/THUDM/GLM / reset

Method reset

utils.py:139–142  ·  view source on GitHub ↗

Reset timer.

(self)

Source from the content-addressed store, hash-verified

137 self.started_ = False
138
139 def reset(self):
140 """Reset timer."""
141 self.elapsed_ = 0.0
142 self.started_ = False
143
144 def elapsed(self, reset=True):
145 """Calculate the elapsed time."""

Callers 3

elapsedMethod · 0.95
evaluateFunction · 0.45
backward_stepFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected