MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / SinePositionalEncoding

Class SinePositionalEncoding

mmdet/models/utils/positional_encoding.py:11–103  ·  view source on GitHub ↗

Position encoding with sine and cosine functions. See `End-to-End Object Detection with Transformers `_ for details. Args: num_feats (int): The feature dimension for each position along x-axis or y-axis. Note the final returned dime

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by 1