MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / __init__

Method __init__

pager_lib/tqdm/std.py:225–228  ·  view source on GitHub ↗
(self, smoothing=0.3)

Source from the content-addressed store, hash-verified

223 Ranges from 0 (yields old value) to 1 (yields new value).
224 """
225 def __init__(self, smoothing=0.3):
226 self.alpha = smoothing
227 self.last = 0
228 self.calls = 0
229
230 def __call__(self, x=None):
231 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected