MCPcopy Create free account
hub / github.com/amdegroot/ssd.pytorch / __init__

Method __init__

eval.py:81–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79class Timer(object):
80 """A simple timer."""
81 def __init__(self):
82 self.total_time = 0.
83 self.calls = 0
84 self.start_time = 0.
85 self.diff = 0.
86 self.average_time = 0.
87
88 def tic(self):
89 # using time.time instead of time.clock because time time.clock

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected