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

Method forward

diffsynth/models/hunyuan_video_dit.py:201–204  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

199 self.proj = torch.nn.Conv3d(in_channels, embed_dim, kernel_size=patch_size, stride=patch_size)
200
201 def forward(self, x):
202 x = self.proj(x)
203 x = x.flatten(2).transpose(1, 2)
204 return x
205
206
207class IndividualTokenRefinerBlock(torch.nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected