MCPcopy Create free account
hub / github.com/XuezheMax/flowseq / PositionalEncoding

Class PositionalEncoding

flownmt/nnet/positional_encoding.py:8–62  ·  view source on GitHub ↗

This module produces sinusoidal positional embeddings of any length. Padding symbols are ignored.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected