Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/294coder/Dif-PAN
/ exists
Function
exists
diffusion/diffusion_ddpm_pan.py:63–64 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
61
62
63
def
exists(x):
64
return
x is not None
65
66
67
def
default(val, d):
Callers
2
default
Function · 0.70
p_sample_loop
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected