MCPcopy Create free account
hub / github.com/WeChatCV/WeVisionOne / get

Method get

WeVisionOne/utils/misc.py:178–181  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

176 self.losses[name].update(loss)
177
178 def get(self, name):
179 if name not in self.losses:
180 return 0
181 return self.losses[name]

Callers 4

__init__Method · 0.80
build_pixel_decoderFunction · 0.80
get_extensionsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected