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

Method forward

diffsynth/models/wan_video_text_encoder.py:105–110  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

103 self.dropout = nn.Dropout(dropout)
104
105 def forward(self, x):
106 x = self.fc1(x) * self.gate(x)
107 x = self.dropout(x)
108 x = self.fc2(x)
109 x = self.dropout(x)
110 return x
111
112
113class T5SelfAttention(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected