| 510 | } |
| 511 | |
| 512 | IPluginV2DynamicExt* EfficientNMSPluginCreator::deserializePlugin( |
| 513 | char const* name, void const* serialData, size_t serialLength) noexcept |
| 514 | { |
| 515 | try |
| 516 | { |
| 517 | // This object will be deleted when the network is destroyed, which will |
| 518 | // call EfficientNMSPlugin::destroy() |
| 519 | auto* plugin = new EfficientNMSPlugin(serialData, serialLength); |
| 520 | plugin->setPluginNamespace(mNamespace.c_str()); |
| 521 | return plugin; |
| 522 | } |
| 523 | catch (std::exception const& e) |
| 524 | { |
| 525 | caughtError(e); |
| 526 | } |
| 527 | return nullptr; |
| 528 | } |
| 529 | |
| 530 | // ONNX NonMaxSuppression Op Compatibility |
| 531 |
nothing calls this directly
no test coverage detected