MCPcopy Create free account
hub / github.com/dailenson/SDT / forward

Method forward

models/transformer.py:255–266  ·  view source on GitHub ↗
(self, tgt, memory,
                tgt_mask: Optional[Tensor] = None,
                memory_mask: Optional[Tensor] = None,
                tgt_key_padding_mask: Optional[Tensor] = None,
                memory_key_padding_mask: Optional[Tensor] = None,
                pos: Optional[Tensor] = None,
                query_pos: Optional[Tensor] = None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

forward_preMethod · 0.95
forward_postMethod · 0.95

Tested by

no test coverage detected