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

Method createPlugin

plugin/coordConvACPlugin/coordConvACPlugin.cpp:218–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218IPluginV2Ext* CoordConvACPluginCreator::createPlugin(char const* name, PluginFieldCollection const* fc) noexcept
219{
220 try
221 {
222 CoordConvACPlugin* plugin = new CoordConvACPlugin();
223 plugin->setPluginNamespace(mNamespace.c_str());
224 return plugin;
225 }
226 catch (std::exception const& e)
227 {
228 caughtError(e);
229 }
230 return nullptr;
231}
232
233IPluginV2Ext* CoordConvACPluginCreator::deserializePlugin(
234 char const* name, void const* serialData, size_t serialLength) noexcept

Callers

nothing calls this directly

Calls 3

caughtErrorFunction · 0.85
c_strMethod · 0.80
setPluginNamespaceMethod · 0.45

Tested by

no test coverage detected