mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-27 12:36:15 +08:00
Properly apply gradient norm clipping after it's scaled in the update_parameters.
This commit is contained in:
@@ -38,6 +38,7 @@ namespace Eval::NNUE {
|
||||
uint64_t epoch,
|
||||
bool verbose,
|
||||
double learning_rate,
|
||||
double max_grad,
|
||||
Learner::CalcLossFunc calc_loss);
|
||||
|
||||
// Check if there are any problems with learning
|
||||
|
||||
Reference in New Issue
Block a user