MCPcopy
hub / github.com/XPixelGroup/DiffBIR / sort

Method sort

diffbir/sampler/k_diffusion.py:88–89  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

86
87 @staticmethod
88 def sort(a, b):
89 return (a, b, 1) if a < b else (b, a, -1)
90
91 def __call__(self, t0, t1):
92 t0, t1, sign = self.sort(t0, t1)

Callers 9

__init__Method · 0.95
__call__Method · 0.95
get_model_listFunction · 0.80
mainFunction · 0.80
__init__Method · 0.80
read_jsonlFunction · 0.80
interpolate_fnFunction · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64