MCPcopy Index your code
hub / github.com/PaddlePaddle/PaddleDetection / end

Method end

deploy/python/utils.py:235–240  ·  view source on GitHub ↗
(self, repeats=1, accumulative=True)

Source from the content-addressed store, hash-verified

233 self.st = time.time()
234
235 def end(self, repeats=1, accumulative=True):
236 self.et = time.time()
237 if accumulative:
238 self.time += (self.et - self.st) / repeats
239 else:
240 self.time = (self.et - self.st) / repeats
241
242 def reset(self):
243 self.time = 0.

Callers 9

get_person_from_rectMethod · 0.45
predict_imageMethod · 0.45
topdown_unite_predictFunction · 0.45
predict_image_sliceMethod · 0.45
predict_imageMethod · 0.45
predict_imageMethod · 0.45
predict_imageMethod · 0.45
predict_imageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected