tl.layers.MaxPool2d里padding的属性“S

2018-07-19  本文已影响1人  yalesaleng

参考文章:https://stackoverflow.com/questions/37674306/what-is-the-difference-between-same-and-valid-padding-in-tf-nn-max-pool-of-t

If you like ascii art:

   inputs:         1  2  3  4  5  6  7  8  9  10 11 (12 13)
                  |________________|                dropped
                                 |_________________|
               pad|                                      |pad
   inputs:      0 |1  2  3  4  5  6  7  8  9  10 11 12 13|0  0
               |________________|
                              |_________________|
                                             |________________|

In this example:

Notes:

上一篇 下一篇

猜你喜欢

热点阅读