why we does not use k directly instead of 2i in positional Encoding Transformer network lab
Hello @BISHWANATH_JANA,
does not mean k = 2i.
// means floor division. For example, if k = 3, then k // 2 = 3 // 2 = 1.
Cheers,
Raymond
1 Like
Thank You
1 Like