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

Method clone

plugin/efficientNMSPlugin/efficientNMSPlugin.cpp:151–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151IPluginV2DynamicExt* EfficientNMSPlugin::clone() const noexcept
152{
153 try
154 {
155 auto* plugin = new EfficientNMSPlugin(mParam);
156 plugin->setPluginNamespace(mNamespace.c_str());
157 return plugin;
158 }
159 catch (std::exception const& e)
160 {
161 caughtError(e);
162 }
163 return nullptr;
164}
165
166DimsExprs EfficientNMSPlugin::getOutputDimensions(
167 int32_t outputIndex, DimsExprs const* inputs, int32_t nbInputs, IExprBuilder& exprBuilder) noexcept

Callers

nothing calls this directly

Calls 3

caughtErrorFunction · 0.85
c_strMethod · 0.80
setPluginNamespaceMethod · 0.45

Tested by

no test coverage detected