- use the same epsilon (even though this function is currently unused);

This commit is contained in:
Juan Altmayer Pizzorno 2020-03-23 10:49:21 -04:00
parent c08d808c3d
commit 6cce3f1b47

View File

@ -200,7 +200,7 @@ void denormalize_connected_layer(layer l)
{
int i, j;
for(i = 0; i < l.outputs; ++i){
float scale = l.scales[i]/sqrt(l.rolling_variance[i] + .000001);
float scale = l.scales[i]/sqrt(l.rolling_variance[i] + .00001);
for(j = 0; j < l.inputs; ++j){
l.weights[i*l.inputs + j] *= scale;
}