MCPcopy Create free account
hub / github.com/PaddlePaddle/Research / __init__

Method __init__

CV/SemSegPaddleDG/src/utils/timer.py:17–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15 """ Simple timer class for measuring time consuming """
16
17 def __init__(self):
18 self._start_time = 0.0
19 self._end_time = 0.0
20 self._elapsed_time = 0.0
21 self._is_running = False
22
23 def start(self):
24 self._is_running = True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected