MCPcopy Create free account
hub / github.com/NVIDIA/DALI / reset

Method reset

dali/test/python/test_utils.py:711–717  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

709 self.reset()
710
711 def reset(self):
712 self.val = 0
713 self.avg = 0
714 self.sum = 0
715 self.count = 0
716 self.avg_last_n = 0
717 self.max_val = 0
718
719 def update(self, val, n=1):
720 self.val = val

Callers 15

__init__Method · 0.95
reshapeMethod · 0.45
invalidate_cpuMethod · 0.45
invalidate_gpuMethod · 0.45
InitPipelineMethod · 0.45
test_iter_setupFunction · 0.45
iteration_testFunction · 0.45
test_cycle_raiseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected