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

Method deserializePlugin

plugin/coordConvACPlugin/coordConvACPlugin.cpp:233–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233IPluginV2Ext* CoordConvACPluginCreator::deserializePlugin(
234 char const* name, void const* serialData, size_t serialLength) noexcept
235{
236 try
237 {
238 CoordConvACPlugin* plugin = new CoordConvACPlugin(serialData, serialLength);
239 plugin->setPluginNamespace(mNamespace.c_str());
240 return plugin;
241 }
242 catch (std::exception const& e)
243 {
244 caughtError(e);
245 }
246 return nullptr;
247}

Callers

nothing calls this directly

Calls 3

caughtErrorFunction · 0.85
c_strMethod · 0.80
setPluginNamespaceMethod · 0.45

Tested by

no test coverage detected