Skip to content

Commit

Permalink
Update DnnSolver.h (#999)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Voropaev <8759144+voropz@users.noreply.github.com>
  • Loading branch information
voropz authored Nov 28, 2023
1 parent 9a29b52 commit 2c39ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NeoML/include/NeoML/Dnn/DnnSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ class NEOML_API CDnnLambGradientSolver : public CDnnSolver {
// Max value for weight norm during WeightDecay
// Negative value means no clip
// By default is equal to -1
float GetWeightDecayClip() { return weightDecayClip; }
float GetWeightDecayClip() const { return weightDecayClip; }
void SetWeightDecayClip( float value ) { weightDecayClip = value; }

// Use normalizing multipier
Expand Down

0 comments on commit 2c39ed8

Please sign in to comment.