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

Method addPluginV2

include/NvInfer.h:7617–7620  ·  view source on GitHub ↗

\brief Add a plugin layer to the network using the IPluginV2 interface. \param inputs The input tensors to the layer. \param nbInputs The number of input tensors. \param plugin The layer plugin. \see IPluginV2Layer \warning Dimension wildcard are only supported with IPluginV2DynamicExt or IPluginV2IOExt plugins. \warning Int32 tensors are not valid input tensors. \return The new plugin layer,

Source from the content-addressed store, hash-verified

7615 //! \return The new plugin layer, or nullptr if it could not be created.
7616 //!
7617 IPluginV2Layer* addPluginV2(ITensor* const* inputs, int32_t nbInputs, IPluginV2& plugin) noexcept
7618 {
7619 return mImpl->addPluginV2(inputs, nbInputs, plugin);
7620 }
7621
7622 //!
7623 //! \brief Add a slice layer to the network.

Callers 2

pyGraph.cppFile · 0.80
parseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected