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

Method forward

diffsynth/models/wan_video_image_encoder.py:283–286  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

281 self.fc3 = nn.Linear(mid_dim, dim)
282
283 def forward(self, x):
284 x = F.silu(self.fc1(x)) * self.fc2(x)
285 x = self.fc3(x)
286 return x
287
288
289class AttentionBlock(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected