Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/microsoft/Cream
/ update
Method
update
TinyViT/my_meter.py:35–39 ·
view source on GitHub ↗
(self, val, n=1)
Source
from the content-addressed store, hash-verified
33
self._avg = None
34
35
def
update(self, val, n=1):
36
self._val = val
37
self._sum += val * n
38
self._count += n
39
self._avg = None
40
41
@property
42
def
val(self):
Callers
12
save_logits_one_epoch
Function · 0.95
check_logits_one_epoch
Function · 0.95
validate
Function · 0.95
train_one_epoch
Function · 0.95
train_one_epoch_distill_using_saved_logits
Function · 0.95
validate
Function · 0.95
__call__
Method · 0.45
tiny_vit_5m_224
Function · 0.45
tiny_vit_11m_224
Function · 0.45
tiny_vit_21m_224
Function · 0.45
tiny_vit_21m_384
Function · 0.45
tiny_vit_21m_512
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected