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

Method __init__

wan/modules/multitalk_model.py:353–359  ·  view source on GitHub ↗
(self, in_dim, out_dim)

Source from the content-addressed store, hash-verified

351class MLPProj(torch.nn.Module):
352
353 def __init__(self, in_dim, out_dim):
354 super().__init__()
355
356 self.proj = torch.nn.Sequential(
357 torch.nn.LayerNorm(in_dim), torch.nn.Linear(in_dim, in_dim),
358 torch.nn.GELU(), torch.nn.Linear(in_dim, out_dim),
359 torch.nn.LayerNorm(out_dim))
360
361 def forward(self, image_embeds):
362 clip_extra_context_tokens = self.proj(image_embeds)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected