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

Method setPadding

include/NvInfer.h:1830–1833  ·  view source on GitHub ↗

\brief Set the padding for pooling. Default: 0 If executing this layer on DLA, both height and width of padding must be in the range [0,7]. \see getPadding() \deprecated Superseded by setPaddingNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0

Source from the content-addressed store, hash-verified

1828 //! \deprecated Superseded by setPaddingNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
1829 //!
1830 TRT_DEPRECATED void setPadding(DimsHW padding) noexcept
1831 {
1832 mImpl->setPadding(padding);
1833 }
1834
1835 //!
1836 //! \brief Get the padding for pooling.

Callers 5

parsePoolingFunction · 0.45
parseConvolutionFunction · 0.45
parseDeconvolutionFunction · 0.45
setPaddingMethod · 0.45
setPaddingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected