MCPcopy Create free account
hub / github.com/MeiGen-AI/MultiTalk / forward

Method forward

wan/modules/t5.py:141–146  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

139 self.dropout = nn.Dropout(dropout)
140
141 def forward(self, x):
142 x = self.fc1(x) * self.gate(x)
143 x = self.dropout(x)
144 x = self.fc2(x)
145 x = self.dropout(x)
146 return x
147
148
149class T5SelfAttention(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected