\brief Set the multi-dimension pre-padding for pooling. The start of the input will be padded by this number of elements in each dimension. Padding value depends on pooling type, -inf is used for max pooling and zero padding for average pooling. Default: (0, 0, ..., 0) If executing this layer on DLA, only support 2D padding, both height and width of padding must be in the range [0,7]. \see get
| 1916 | //! \see getPrePadding() |
| 1917 | //! |
| 1918 | void setPrePadding(Dims padding) noexcept |
| 1919 | { |
| 1920 | mImpl->setPrePadding(padding); |
| 1921 | } |
| 1922 | |
| 1923 | //! |
| 1924 | //! \brief Get the pre-padding. |
no outgoing calls
no test coverage detected