You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by jx...@apache.org on 2018/05/07 18:08:26 UTC

[incubator-mxnet] branch master updated: fix the latex formula for LRN operator (#10802)

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

jxie 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 2e935b9  fix the latex formula for LRN operator (#10802)
2e935b9 is described below

commit 2e935b94326124082e364f441bc4e4fe16e1ab1d
Author: JackieWu <wk...@live.cn>
AuthorDate: Tue May 8 02:08:19 2018 +0800

    fix the latex formula for LRN operator (#10802)
    
    * fix formula for LRN operator
    
    * retrigger test
---
 src/operator/nn/lrn.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/operator/nn/lrn.cc b/src/operator/nn/lrn.cc
index 68d3261..e86c471 100644
--- a/src/operator/nn/lrn.cc
+++ b/src/operator/nn/lrn.cc
@@ -167,7 +167,7 @@ If :math:`a_{x,y}^{i}` is the activity of a neuron computed by applying kernel :
 activity :math:`b_{x,y}^{i}` is given by the expression:
 
 .. math::
-   b_{x,y}^{i} = \frac{a_{x,y}^{i}}{\Bigg({k + \alpha \sum_{j=max(0, i-\frac{n}{2})}^{min(N-1, i+\frac{n}{2})} (a_{x,y}^{j})^{2}}\Bigg)^{\beta}}
+   b_{x,y}^{i} = \frac{a_{x,y}^{i}}{\Bigg({k + \frac{\alpha}{n} \sum_{j=max(0, i-\frac{n}{2})}^{min(N-1, i+\frac{n}{2})} (a_{x,y}^{j})^{2}}\Bigg)^{\beta}}
 
 where the sum runs over :math:`n` "adjacent" kernel maps at the same spatial position, and :math:`N` is the total
 number of kernels in the layer.

-- 
To stop receiving notification emails like this one, please contact
jxie@apache.org.