printing in ID and storing scores in datagen in white relative format | bench 1857933
This commit is contained in:
1 parent
5619ced265
commit
61a68e5bcf
4 files changed
+10
-3
No files matched your search
@@ -181,4 +181,9 @@ std::array<uint8_t, 16> CompressPieces(Board board) {
|
||||
|
||||
return compressed;
|
||||
}
|
||||
|
||||
int ConvertToWhiteRelative(Board &board, int score) {
|
||||
return board.sideToMove == White ? score : -score;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user