MCPcopy Create free account
hub / github.com/294coder/Dif-PAN / __init__

Method __init__

models/sr3.py:265–267  ·  view source on GitHub ↗
(self, dim)

Source from the content-addressed store, hash-verified

263
264class Downsample(nn.Module):
265 def __init__(self, dim):
266 super().__init__()
267 self.conv = nn.Conv2d(dim, dim, 3, 2, 1)
268
269 def forward(self, x):
270 return self.conv(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected