Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/294coder/Dif-PAN
/ default
Function
default
models/unet_model_google.py:15–18 ·
view source on GitHub ↗
(val, d)
Source
from the content-addressed store, hash-verified
13
14
15
def
default(val, d):
16
if
exists(val):
17
return
val
18
return
d()
if
isfunction(d)
else
d
19
20
21
class
LayerNorm2d(nn.LayerNorm):
Callers
2
__init__
Method · 0.70
_forward_imple
Method · 0.70
Calls
1
exists
Function · 0.70
Tested by
no test coverage detected