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

Method forward

wan/modules/clip.py:106–109  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

104 self.fc3 = nn.Linear(mid_dim, dim)
105
106 def forward(self, x):
107 x = F.silu(self.fc1(x)) * self.fc2(x)
108 x = self.fc3(x)
109 return x
110
111
112class AttentionBlock(nn.Module):

Callers 2

forwardMethod · 0.45
forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected