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

Method setPrePadding

include/NvInfer.h:1297–1300  ·  view source on GitHub ↗

\brief Set the multi-dimension pre-padding of the convolution. The start of the input will be zero-padded by this number of elements in each dimension. 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,31], and the padding must be less than the kernel size. \see getPrePadding()

Source from the content-addressed store, hash-verified

1295 //! \see getPrePadding()
1296 //!
1297 void setPrePadding(Dims padding) noexcept
1298 {
1299 mImpl->setPrePadding(padding);
1300 }
1301
1302 //!
1303 //! \brief Get the pre-padding.

Callers

nothing calls this directly

Calls 1

setPrePaddingMethod · 0.45

Tested by

no test coverage detected