Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/XPixelGroup/DiffBIR
/ limiter
Method
limiter
diffbir/sampler/k_diffusion.py:320–321 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
318
self.errs = []
319
320
def
limiter(self, x):
321
return
1 + math.atan(x - 1)
322
323
def
propose_step(self, error):
324
inv_error = 1 / (float(error) + self.eps)
Callers
1
propose_step
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected