fix reorder warnings in batch norm

This commit is contained in:
Mrityunjay Tripathi
2020-07-17 18:19:09 +05:30
parent b7c3b4187f
commit c17831edef
+4 -4
View File
@@ -180,10 +180,6 @@ class BatchNorm
//! Locally-stored value for momentum.
double momentum;
//! Locally-stored value for average factor which used to update running
//! mean and variance.
double averageFactor;
//! Variable to keep track of whether we are in loading or saving mode.
bool loading;
@@ -211,6 +207,10 @@ class BatchNorm
//! Locally-stored running mean/variance counter.
size_t count;
//! Locally-stored value for average factor which used to update running
//! mean and variance.
double averageFactor;
//! Locally-stored mean object.
OutputDataType runningMean;