MCPcopy Create free account
hub / github.com/NVIDIA/MinkowskiEngine / tic

Method tic

examples/common.py:46–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44 self.min_time = np.Inf
45
46 def tic(self):
47 # using time.time instead of time.clock because time time.clock
48 # does not normalize for multithreading
49 self.start_time = time.time()
50
51 def toc(self, average=False):
52 self.diff = time.time() - self.start_time

Callers 2

forwardFunction · 0.95
trainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected