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

Method forward

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

Source from the content-addressed store, hash-verified

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)
71 return x.reshape(-1, C, H, W)
72
73class PixelShuffle3d(nn.Module):
74 def __init__(self, ff, hh, ww):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected