mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00: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:
parent
4c02998325
commit
5448cad29e
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue