Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SooLab/CGFormer
/ __init__
Method
__init__
utils/misc.py:74–77 ·
view source on GitHub ↗
(self, name, fmt=":f")
Source
from the content-addressed store, hash-verified
72
""
"Computes and stores the average and current value"
""
73
74
def
__init__(self, name, fmt=
":f"
):
75
self.name = name
76
self.fmt = fmt
77
self.reset()
78
79
def
reset(self):
80
self.val = 0
Callers
nothing calls this directly
Calls
1
reset
Method · 0.95
Tested by
no test coverage detected