MCPcopy Create free account
hub / github.com/Yang-Li-2000/Touch-Line-Transformer / PositionEmbeddingSine

Class PositionEmbeddingSine

models/position_encoding.py:12–48  ·  view source on GitHub ↗

This is a more standard version of the position embedding, very similar to the one used by the Attention is all you need paper, generalized to work on images.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_make_backboneFunction · 0.90
build_position_encodingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected