mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 11:06:58 +08:00
Fix export of the feature transformer.
PSQT export was missing. fixes #3507 closes https://github.com/official-stockfish/Stockfish/pull/3508 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
4c02998325
commit
5448cad29e
@@ -165,6 +165,8 @@ namespace Stockfish::Eval::NNUE {
|
||||
write_little_endian<BiasType>(stream, biases[i]);
|
||||
for (std::size_t i = 0; i < HalfDimensions * InputDimensions; ++i)
|
||||
write_little_endian<WeightType>(stream, weights[i]);
|
||||
for (std::size_t i = 0; i < PSQTBuckets * InputDimensions; ++i)
|
||||
write_little_endian<PSQTWeightType>(stream, psqtWeights[i]);
|
||||
return !stream.fail();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user