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

Method setPrePadding

include/NvInfer.h:3885–3888  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3883 //! \deprecated Superseded by setPrePaddingNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
3884 //!
3885 TRT_DEPRECATED void setPrePadding(DimsHW padding) noexcept
3886 {
3887 mImpl->setPrePadding(padding);
3888 }
3889
3890 //!
3891 //! \brief Get the padding that is applied at the start of the tensor.

Callers

nothing calls this directly

Calls 1

setPrePaddingMethod · 0.45

Tested by

no test coverage detected