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:85–87 ·
view source on GitHub ↗
(self, dim)
Source
from the content-addressed store, hash-verified
83
84
class
Downsample(nn.Module):
85
def
__init__(self, dim):
86
super().__init__()
87
self.conv = nn.Conv2d(dim, dim, 3, 2, 1)
88
89
def
forward(self, x):
90
return
self.conv(x)
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected