Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_list
Function · 0.80
main
Function · 0.80
__init__
Method · 0.80
qa_baseline_gpt35.py
File · 0.80
read_jsonl
Function · 0.80
generate_webpage_data_from_table.py
File · 0.80
interpolate_fn
Function · 0.80
Calls
no outgoing calls
Tested by
1
main
Function · 0.64