Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/294coder/Dif-PAN
/ inner
Function
inner
diffusion_engine.py:44–47 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
42
43
def
clamp_fn(g_sr):
44
def
inner(x):
45
x = x + g_sr
46
x = x.clamp(0, 1.0)
47
return
x - g_sr
48
49
return
inner
50
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected