MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / setPostPadding

Method setPostPadding

include/NvInfer.h:1946–1949  ·  view source on GitHub ↗

\brief Set the multi-dimension post-padding for pooling. The end 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 getP

Source from the content-addressed store, hash-verified

1944 //! \see getPostPadding()
1945 //!
1946 void setPostPadding(Dims padding) noexcept
1947 {
1948 mImpl->setPostPadding(padding);
1949 }
1950
1951 //!
1952 //! \brief Get the padding.

Callers 3

setPostPaddingMethod · 0.45
setPostPaddingMethod · 0.45
setPostPaddingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected