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

Method clone

plugin/coordConvACPlugin/coordConvACPlugin.cpp:158–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158IPluginV2Ext* CoordConvACPlugin::clone() const noexcept
159{
160 try
161 {
162 auto* plugin = new CoordConvACPlugin(iType, iC, iH, iW, oC, oH, oW);
163 plugin->setPluginNamespace(mPluginNamespace);
164 return plugin;
165 }
166 catch (std::exception const& e)
167 {
168 caughtError(e);
169 }
170 return nullptr;
171}
172
173void CoordConvACPlugin::setPluginNamespace(char const* pluginNamespace) noexcept
174{

Callers

nothing calls this directly

Calls 2

caughtErrorFunction · 0.85
setPluginNamespaceMethod · 0.45

Tested by

no test coverage detected