MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / forward

Method forward

lightx2v/models/runners/vsr/utils/TCDecoder.py:64–66  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected