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

Method setPadding

include/NvInfer.h:1161–1164  ·  view source on GitHub ↗

\brief Set the padding of the convolution. The input will be zero-padded by this number of elements in the height and width directions. Padding is symmetric. Default: (0,0) If executing this layer on DLA, both height and width of padding must be in the range [0,31], and the padding size must be less than the kernel size. \see getPadding() \deprecated Superseded by setPaddingNd. Deprecated pri

Source from the content-addressed store, hash-verified

1159 //! \deprecated Superseded by setPaddingNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
1160 //!
1161 TRT_DEPRECATED void setPadding(DimsHW padding) noexcept
1162 {
1163 return mImpl->setPadding(padding);
1164 }
1165
1166 //!
1167 //! \brief Get the padding of the convolution. If the padding is asymmetric, the pre-padding is returned.

Callers

nothing calls this directly

Calls 1

setPaddingMethod · 0.45

Tested by

no test coverage detected