From aceba8e197f99abf85d2a8519448b9fbff80f5de Mon Sep 17 00:00:00 2001 From: SunAhong1993 <48579383+SunAhong1993@users.noreply.github.com> Date: Mon, 23 Sep 2019 17:37:15 +0800 Subject: [PATCH] Update LRN.md --- caffe2fluid/doc/LRN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caffe2fluid/doc/LRN.md b/caffe2fluid/doc/LRN.md index cc2c7e5..eb464fa 100644 --- a/caffe2fluid/doc/LRN.md +++ b/caffe2fluid/doc/LRN.md @@ -37,7 +37,7 @@ PaddlePaddle:默认且仅支持`ACROSS_CHANNELS`模式。 #### 计算机制 Caffe:在`ACROSS_CHANNELS`模式下,计算公式如下,公式中的$n$即为参数`local_size` -$$output(i,x,y)=input(i,x,y)/(1+\frac{\alpha}{n}\sum_{j=max(0,i-\frac{n}{2})}^{min(C,i+\frac{n}{2})}{input(j,x,y)^2})^\beta$$ +$$output(i,x,y)=input(i,x,y)/(k+\frac{\alpha}{n}\sum_{j=max(0,i-\frac{n}{2})}^{min(C,i+\frac{n}{2})}{input(j,x,y)^2})^\beta$$ PaddlePaddle:计算公式如下, $$output(i,x,y)=input(i,x,y)/(k+\alpha\sum_{j=max(0,i-\frac{n}{2})}^{min(C,i+\frac{n}{2})}{input(j,x,y)^2})^\beta$$ -- GitLab