未验证 提交 dc07d52e 编写于 作者: C chengduo 提交者: GitHub

Merge pull request #9314 from chengduoZH/v2_fix_doc/pool

Fix v2_pooling doc
...@@ -2747,17 +2747,17 @@ def img_pool_layer(input, ...@@ -2747,17 +2747,17 @@ def img_pool_layer(input,
.. math:: .. math::
w & = 1 + \\frac{ceil(input\_width + 2 * padding - pool\_size)}{stride} w & = 1 + ceil(\\frac{input\_width + 2 * padding - pool\_size}{stride})
h & = 1 + \\frac{ceil(input\_height + 2 * padding\_y - pool\_size\_y)}{stride\_y} h & = 1 + ceil(\\frac{input\_height + 2 * padding\_y - pool\_size\_y}{stride\_y})
- ceil_mode=False: - ceil_mode=False:
.. math:: .. math::
w & = 1 + \\frac{floor(input\_width + 2 * padding - pool\_size)}{stride} w & = 1 + floor(\\frac{input\_width + 2 * padding - pool\_size}{stride})
h & = 1 + \\frac{floor(input\_height + 2 * padding\_y - pool\_size\_y)}{stride\_y} h & = 1 + floor(\\frac{input\_height + 2 * padding\_y - pool\_size\_y}{stride\_y})
The example usage is: The example usage is:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册