MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / forward

Method forward

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

Source from the content-addressed store, hash-verified

134 self.dropout = nn.Dropout(dropout)
135
136 def forward(self, x):
137 x = self.fc1(x) * self.gate(x)
138 x = self.dropout(x)
139 x = self.fc2(x)
140 x = self.dropout(x)
141 return x
142
143
144class T5SelfAttention(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected