Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meshcapade/difflocks
/ limiter
Method
limiter
k_diffusion/sampling.py:315–316 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
313
self.errs = []
314
315
def
limiter(self, x):
316
return
1 + math.atan(x - 1)
317
318
def
propose_step(self, error):
319
inv_error = 1 / (float(error) + self.eps)
Callers
1
propose_step
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected