MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / __init__

Method __init__

examples/WanVSR/utils/TCDecoder.py:64–67  ·  view source on GitHub ↗
(self, n_f, stride)

Source from the content-addressed store, hash-verified

62
63class TGrow(nn.Module):
64 def __init__(self, n_f, stride):
65 super().__init__()
66 self.stride = stride
67 self.conv = nn.Conv2d(n_f, n_f*stride, 1, bias=False)
68 def forward(self, x):
69 _NT, C, H, W = x.shape
70 x = self.conv(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected