From eb65b4e47d389efcb7e08dc6f8966acebd1c800f Mon Sep 17 00:00:00 2001 From: dengkaipeng Date: Fri, 22 Feb 2019 07:09:54 +0000 Subject: [PATCH] \frac -> \frac. test=develop --- paddle/fluid/operators/pool_op.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/paddle/fluid/operators/pool_op.cc b/paddle/fluid/operators/pool_op.cc index da594e19b57..1579c4e994d 100644 --- a/paddle/fluid/operators/pool_op.cc +++ b/paddle/fluid/operators/pool_op.cc @@ -267,7 +267,7 @@ Example: hend &= hstart + ksize[0] \\ wstart &= j * strides[1] - paddings[1] \\ wend &= wstart + ksize[1] \\ - Output(i ,j) &= \\frac{sum(Input[hstart:hend, wstart:wend])}{ksize[0] * ksize[1]} + Output(i ,j) &= \frac{sum(Input[hstart:hend, wstart:wend])}{ksize[0] * ksize[1]} For exclusive = true: @@ -277,7 +277,7 @@ Example: hend &= min(H, hstart + ksize[0]) \\ wstart &= max(0, j * strides[1] - paddings[1]) \\ wend &= min(W, wstart + ksize[1]) \\ - Output(i ,j) &= \\frac{sum(Input[hstart:hend, wstart:wend])}{(hend - hstart) * (wend - wstart)} + Output(i ,j) &= \frac{sum(Input[hstart:hend, wstart:wend])}{(hend - hstart) * (wend - wstart)} For adaptive = true: @@ -287,7 +287,7 @@ Example: hend &= ceil((i + 1) * H_{in} / H_{out}) \\ wstart &= floor(j * W_{in} / W_{out}) \\ wend &= ceil((j + 1) * W_{in} / W_{out}) \\ - Output(i ,j) &= \\frac{sum(Input[hstart:hend, wstart:wend])}{(hend - hstart) * (wend - wstart)} + Output(i ,j) &= \frac{sum(Input[hstart:hend, wstart:wend])}{(hend - hstart) * (wend - wstart)} )DOC"); } @@ -426,7 +426,7 @@ Example: hend &= hstart + ksize[1] \\ wstart &= k * strides[2] - paddings[2] \\ wend &= wstart + ksize[2] \\ - Output(i ,j, k) &= \\frac{sum(Input[dstart:dend, hstart:hend, wstart:wend])}{ksize[0] * ksize[1] * ksize[2]} + Output(i ,j, k) &= \frac{sum(Input[dstart:dend, hstart:hend, wstart:wend])}{ksize[0] * ksize[1] * ksize[2]} For exclusive = true: @@ -437,7 +437,7 @@ Example: hend &= min(H, hstart + ksize[1]) \\ wstart &= max(0, k * strides[2] - paddings[2]) \\ wend &= min(W, wstart + ksize[2]) \\ - Output(i ,j, k) &= \\frac{sum(Input[dstart:dend, hstart:hend, wstart:wend])}{(dend - dstart) * (hend - hstart) * (wend - wstart)} + Output(i ,j, k) &= \frac{sum(Input[dstart:dend, hstart:hend, wstart:wend])}{(dend - dstart) * (hend - hstart) * (wend - wstart)} For adaptive = true: @@ -449,7 +449,7 @@ Example: hend &= ceil((j + 1) * H_{in} / H_{out}) \\ wstart &= floor(k * W_{in} / W_{out}) \\ wend &= ceil((k + 1) * W_{in} / W_{out}) \\ - Output(i ,j, k) &= \\frac{sum(Input[dstart:dend, hstart:hend, wstart:wend])}{(dend - dstart) * (hend - hstart) * (wend - wstart)} + Output(i ,j, k) &= \frac{sum(Input[dstart:dend, hstart:hend, wstart:wend])}{(dend - dstart) * (hend - hstart) * (wend - wstart)} )DOC"); } -- GitLab