Merge pull request #3062 from shrit/clean_reorder_warning

Clean reorder warning
This commit is contained in:
Omar Shrit
2021-09-28 17:08:15 +02:00
committed by GitHub
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -152,12 +152,12 @@ class GroupNorm
void serialize(Archive& ar, const uint32_t /* version */);
private:
//! Locally-stored number of input units.
size_t size;
//! Locally-stored group count.
size_t groupCount;
//! Locally-stored number of input units.
size_t size;
//! Locally-stored epsilon value.
double eps;
@@ -94,10 +94,10 @@ class SSELoss
(arma::accu(hessians) + lambda);
}
private:
//! The L2 regularization parameter.
const double lambda;
//! The L1 regularization parameter.
const double alpha;
//! The L2 regularization parameter.
const double lambda;
//! First order gradients.
arma::vec gradients;
//! Second order gradients (hessians).