MCPcopy
hub / github.com/amdegroot/ssd.pytorch / tic

Method tic

eval.py:88–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 self.average_time = 0.
87
88 def tic(self):
89 # using time.time instead of time.clock because time time.clock
90 # does not normalize for multithreading
91 self.start_time = time.time()
92
93 def toc(self, average=True):
94 self.diff = time.time() - self.start_time

Callers 1

test_netFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_netFunction · 0.64