Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cpystan/SD-VLM
/ append
Method
append
evaluation/evaluate_final.py:98–100 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
96
self.count = 0
97
98
def
append(self, value):
99
self.avg = (value + self.count * self.avg) / (self.count + 1)
100
self.count += 1
101
102
def
get_value(self):
103
return
self.avg
Callers
2
update
Method · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected