We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0f3ed1 commit 71edc02Copy full SHA for 71edc02
src/ConvNetSharp/Layers/DropOutLayer.cs
@@ -43,7 +43,7 @@ public override Volume Forward(Volume input, bool isTraining = false)
43
// scale the activations during prediction
44
for (var i = 0; i < length; i++)
45
{
46
- output.Weights[i] *= this.DropProb.Value;
+ output.Weights[i] *= 1 - this.DropProb.Value;
47
}
48
49
0 commit comments