Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/294coder/Dif-PAN
/ __init__
Method
__init__
models/unet_model_google.py:24–25 ·
view source on GitHub ↗
(self, num_channels)
Source
from the content-addressed store, hash-verified
22
""
"LayerNorm for channels of '2D' spatial BCHW tensors"
""
23
24
def
__init__(self, num_channels):
25
super().__init__(num_channels)
26
27
def
forward(self, x: torch.Tensor) -> torch.Tensor:
28
return
F.layer_norm(
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected