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

Method forward_post

models/transformer.py:209–230  ·  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 1

forwardMethod · 0.95

Calls 1

with_pos_embedMethod · 0.95

Tested by

no test coverage detected