MCPcopy Create free account
hub / github.com/dqwang122/HeterSumGraph / get_sinusoid_encoding_table

Function get_sinusoid_encoding_table

module/PositionEmbedding.py:20–38  ·  view source on GitHub ↗

Sinusoid position encoding table

(n_position, d_hid, padding_idx=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_init_sn_paramMethod · 0.90
__init__Method · 0.90

Calls 1

get_posi_angle_vecFunction · 0.85

Tested by

no test coverage detected