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

Method forward

models/transformer/wan/modules/t2m_model.py:489–491  ·  view source on GitHub ↗
(self, image_embeds)

Source from the content-addressed store, hash-verified

487 torch.nn.LayerNorm(out_dim))
488
489 def forward(self, image_embeds):
490 clip_extra_context_tokens = self.proj(image_embeds)
491 return clip_extra_context_tokens
492
493class PositionalEncoding(nn.Module):
494 def __init__(self, d_model, max_len=5000):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected