MCPcopy Create free account
hub / github.com/JIA-Lab-research/LISA / __str__

Method __str__

utils/utils.py:96–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94 self.avg = self.sum / (self.count + 1e-5)
95
96 def __str__(self):
97 fmtstr = "{name} {val" + self.fmt + "} ({avg" + self.fmt + "})"
98 return fmtstr.format(**self.__dict__)
99
100 def summary(self):
101 fmtstr = ""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected