MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / PositionalEmbedding

Function PositionalEmbedding

fairseq/modules/positional_embedding.py:12–33  ·  view source on GitHub ↗
(
        num_embeddings: int,
        embedding_dim: int,
        padding_idx: int,
        learned: bool = False,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90

Tested by

no test coverage detected