Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PaddlePaddle/PaddleRec
/ reset
Method
reset
tools/inference/python/slot_dnn_infer_dataloader.py:162–165 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
160
self.time = self.et - self.st
161
162
def
reset(self):
163
self.time = 0.
164
self.st = 0.
165
self.et = 0.
166
167
def
value(self):
168
return
round(self.time, 4)
Callers
5
main
Function · 0.45
heter_train_loop
Method · 0.45
dataloader_train_loop
Method · 0.45
heter_train_loop
Method · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected