| 352 | } |
| 353 | |
| 354 | IPluginV2Ext* GridAnchorGenerator::clone() const noexcept |
| 355 | { |
| 356 | try |
| 357 | { |
| 358 | IPluginV2Ext* plugin = new GridAnchorGenerator(mParam.data(), mNumLayers, mPluginName.c_str()); |
| 359 | plugin->setPluginNamespace(mPluginNamespace.c_str()); |
| 360 | return plugin; |
| 361 | } |
| 362 | catch (std::exception const& e) |
| 363 | { |
| 364 | caughtError(e); |
| 365 | } |
| 366 | return nullptr; |
| 367 | } |
| 368 | |
| 369 | GridAnchorBasePluginCreator::GridAnchorBasePluginCreator() |
| 370 | { |
nothing calls this directly
no test coverage detected