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

Method forward

models/transformer/wan/modules/tm2m_model.py:531–533  ·  view source on GitHub ↗
(self, image_embeds)

Source from the content-addressed store, hash-verified

529 torch.nn.LayerNorm(out_dim))
530
531 def forward(self, image_embeds):
532 clip_extra_context_tokens = self.proj(image_embeds)
533 return clip_extra_context_tokens
534
535class PositionalEncoding(nn.Module):
536 def __init__(self, d_model, max_len=5000):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected