chess-alpha-zero icon indicating copy to clipboard operation
chess-alpha-zero copied to clipboard

policy_out dimension

Open Vovak1919 opened this issue 6 years ago • 1 comments

Tell me, how the dimension size was determined in the Dense output layer (None, 1968) in the policy_out header?

Vovak1919 avatar Feb 25 '20 20:02 Vovak1919

That's the number of combinations of (starting square, ending square) for legal chess moves (in a rank, file, diagonal, or knight), plus some extra indicators for promotions. See the original DeepMind paper for the detailed explanation.

Akababa avatar Mar 01 '20 00:03 Akababa