MCPcopy 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_stepMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected