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

Method addPooling

include/NvInfer.h:7003–7006  ·  view source on GitHub ↗

\brief Add a pooling layer to the network. \param input The input tensor to the layer. \param type The type of pooling to apply. \param windowSize The size of the pooling window. \see IPoolingLayer PoolingType \warning Int32 tensors are not valid input tensors. \return The new pooling layer, or nullptr if it could not be created. \deprecated Superseded by addPoolingNd. Deprecated prior to Tens

Source from the content-addressed store, hash-verified

7001 //! \deprecated Superseded by addPoolingNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
7002 //!
7003 TRT_DEPRECATED IPoolingLayer* addPooling(ITensor& input, PoolingType type, DimsHW windowSize) noexcept
7004 {
7005 return mImpl->addPooling(input, type, windowSize);
7006 }
7007
7008 //!
7009 //! \brief Add a LRN layer to the network.

Callers 1

parsePoolingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected