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

Method forward

models/transformer/wan/modules/t5.py:408–412  ·  view source on GitHub ↗
(self, encoder_ids, encoder_mask, decoder_ids, decoder_mask)

Source from the content-addressed store, hash-verified

406 self.apply(init_weights)
407
408 def forward(self, encoder_ids, encoder_mask, decoder_ids, decoder_mask):
409 x = self.encoder(encoder_ids, encoder_mask)
410 x = self.decoder(decoder_ids, decoder_mask, x, encoder_mask)
411 x = self.head(x)
412 return x
413
414
415def _t5(name,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected