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

Method setPostPadding

include/NvInfer.h:3911–3914  ·  view source on GitHub ↗

\brief Set the padding that is applied at the end of the tensor. Negative padding results in trimming the edge by the specified amount \see getPostPadding \deprecated Superseded by setPostPaddingNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0

Source from the content-addressed store, hash-verified

3909 //! \deprecated Superseded by setPostPaddingNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
3910 //!
3911 TRT_DEPRECATED void setPostPadding(DimsHW padding) noexcept
3912 {
3913 mImpl->setPostPadding(padding);
3914 }
3915
3916 //!
3917 //! \brief Get the padding that is applied at the end of the tensor.

Callers

nothing calls this directly

Calls 1

setPostPaddingMethod · 0.45

Tested by

no test coverage detected