I doesn't understand this please help me

why we does not use k directly instead of 2i in positional Encoding Transformer network lab

Hello @BISHWANATH_JANA,

image 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