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

Method setPrePadding

include/NvInfer.h:1918–1921  ·  view source on GitHub ↗

\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

Source from the content-addressed store, hash-verified

1916 //! \see getPrePadding()
1917 //!
1918 void setPrePadding(Dims padding) noexcept
1919 {
1920 mImpl->setPrePadding(padding);
1921 }
1922
1923 //!
1924 //! \brief Get the pre-padding.

Callers 3

setPrePaddingMethod · 0.45
setPrePaddingMethod · 0.45
setPrePaddingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected