Skip to content

Commit

Permalink
Fix instancenorm math equation (apache#18955)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Aug 18, 2020
1 parent e06ee4e commit 0afeb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/instance_norm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ the input using the following formula:
.. math::
out = \frac{x - mean[data]}{ \sqrt{Var[data]} + \epsilon} * gamma + beta
out = \frac{x - mean[data]}{ \sqrt{Var[data] + \epsilon}} * gamma + beta
This layer is similar to batch normalization layer (`BatchNorm`)
with two differences: first, the normalization is
Expand Down

0 comments on commit 0afeb97

Please sign in to comment.