(self)
| 70 | |
| 71 | @property |
| 72 | def avg(self): |
| 73 | # if deque is empty, nan will be returned. |
| 74 | d = np.array(list(self._deque)) |
| 75 | return d.mean() |
| 76 | |
| 77 | @property |
| 78 | def global_avg(self): |
nothing calls this directly
no outgoing calls
no test coverage detected