MCPcopy Create free account
hub / github.com/XLearning-SCU/2022-CVPR-DART / __init__

Method __init__

utils.py:105–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103 """Computes and stores the average and current value"""
104
105 def __init__(self):
106 self.reset()
107
108 def reset(self):
109 self.val = 0

Callers

nothing calls this directly

Calls 1

resetMethod · 0.95

Tested by

no test coverage detected