MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / forward

Method forward

examples/pytorch/t5/utils/ft_encoder.py:400–402  ·  view source on GitHub ↗
(self, input, seq_len, inputs_embeds=None)

Source from the content-addressed store, hash-verified

398 adapter_norm_position)
399
400 def forward(self, input, seq_len, inputs_embeds=None):
401 output = self.encoder.forward(input, seq_len, inputs_embeds)
402 return output

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected