You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by sk...@apache.org on 2018/12/29 16:30:35 UTC

[incubator-mxnet] branch master updated: Update basic_layers.py (#13732)

This is an automated email from the ASF dual-hosted git repository.

skm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 8132a5b  Update basic_layers.py (#13732)
8132a5b is described below

commit 8132a5bd1ffb7279c78bb3375a4a6c9d65b2d375
Author: Haibin Lin <li...@gmail.com>
AuthorDate: Sat Dec 29 08:30:12 2018 -0800

    Update basic_layers.py (#13732)
---
 python/mxnet/gluon/nn/basic_layers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/mxnet/gluon/nn/basic_layers.py b/python/mxnet/gluon/nn/basic_layers.py
index c69b980..4d514c2 100644
--- a/python/mxnet/gluon/nn/basic_layers.py
+++ b/python/mxnet/gluon/nn/basic_layers.py
@@ -537,7 +537,7 @@ class LayerNorm(HybridBlock):
 
     .. math::
 
-      out = \frac{x - mean[data, axis]}{ \sqrt{Var[data, axis]} + \epsilon} * gamma + beta
+      out = \frac{x - mean[data, axis]}{ \sqrt{Var[data, axis] + \epsilon}} * gamma + beta
 
     Parameters
     ----------