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

Method forward

examples/WanVSR/utils/TCDecoder.py:59–61  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

57 self.stride = stride
58 self.conv = nn.Conv2d(n_f*stride, n_f, 1, bias=False)
59 def forward(self, x):
60 _NT, C, H, W = x.shape
61 return self.conv(x.reshape(-1, self.stride * C, H, W))
62
63class TGrow(nn.Module):
64 def __init__(self, n_f, stride):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected