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

Method forward

wan/modules/vace_model.py:33–39  ·  view source on GitHub ↗
(self, c, x, **kwargs)

Source from the content-addressed store, hash-verified

31 nn.init.zeros_(self.after_proj.bias)
32
33 def forward(self, c, x, **kwargs):
34 if self.block_id == 0:
35 c = self.before_proj(c) + x
36
37 c = super().forward(c, **kwargs)
38 c_skip = self.after_proj(c)
39 return c, c_skip
40
41
42class BaseWanAttentionBlock(WanAttentionBlock):

Callers

nothing calls this directly

Calls 1

forwardMethod · 0.45

Tested by

no test coverage detected