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

Method forward

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

Source from the content-addressed store, hash-verified

49 self.skip = nn.Conv2d(n_in, n_out, 1, bias=False) if n_in != n_out else nn.Identity()
50 self.act = nn.ReLU(inplace=True)
51 def forward(self, x, past):
52 return self.act(self.conv(torch.cat([x, past], 1)) + self.skip(x))
53
54class TPool(nn.Module):
55 def __init__(self, n_f, stride):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected