Skip to content

Commit

Permalink
cudnn's exponetialAverageFactor is 1 - momentum
Browse files Browse the repository at this point in the history
  • Loading branch information
mavenlin committed Apr 25, 2016
1 parent c27f406 commit 89d81ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/cudnn_batch_norm-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class CuDNNBatchNormOp : public Operator {
mean_desc_,
gamma.dptr_,
beta.dptr_,
param_.momentum,
1 - param_.momentum,
moving_mean.dptr_,
moving_inv_var.dptr_,
param_.eps,
Expand Down

0 comments on commit 89d81ad

Please sign in to comment.