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

Method setPadding

include/NvInfer.h:2570–2573  ·  view source on GitHub ↗

\brief Set the padding of the deconvolution. The output will be trimmed by this number of elements on each side in the height and width directions. In other words, it resembles the inverse of a convolution layer with this padding size. Padding is symmetric, and negative padding is not supported. Default: (0,0) If executing this layer on DLA, both height and width of padding must be 0. \see get

Source from the content-addressed store, hash-verified

2568 //! \deprecated Superseded by setPaddingNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
2569 //!
2570 TRT_DEPRECATED void setPadding(DimsHW padding) noexcept
2571 {
2572 mImpl->setPadding(padding);
2573 }
2574
2575 //!
2576 //! \brief Get the padding of the deconvolution.

Callers

nothing calls this directly

Calls 1

setPaddingMethod · 0.45

Tested by

no test coverage detected