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

Method setPrePadding

include/NvInfer.h:2681–2684  ·  view source on GitHub ↗

\brief Set the multi-dimension pre-padding of the deconvolution. The output will be trimmed by this number of elements on the start of every dimension. In other words, it resembles the inverse of a convolution layer with this padding size. Negative padding is not supported. Default: (0, 0, ..., 0) If executing this layer on DLA, padding must be 0. \see getPrePadding()

Source from the content-addressed store, hash-verified

2679 //! \see getPrePadding()
2680 //!
2681 void setPrePadding(Dims padding) noexcept
2682 {
2683 mImpl->setPrePadding(padding);
2684 }
2685
2686 //!
2687 //! \brief Get the pre-padding.

Callers

nothing calls this directly

Calls 1

setPrePaddingMethod · 0.45

Tested by

no test coverage detected