| 619 | } |
| 620 | |
| 621 | IPluginV2Ext* CropAndResizePluginCreator::deserializePlugin( |
| 622 | char const* /* name */, void const* serialData, size_t serialLength) noexcept |
| 623 | { |
| 624 | try |
| 625 | { |
| 626 | // This object will be deleted when the network is destroyed, |
| 627 | IPluginV2Ext* plugin = new CropAndResizePlugin(serialData, serialLength); |
| 628 | plugin->setPluginNamespace(mNamespace.c_str()); |
| 629 | return plugin; |
| 630 | } |
| 631 | catch (std::exception const& e) |
| 632 | { |
| 633 | caughtError(e); |
| 634 | } |
| 635 | return nullptr; |
| 636 | } |
| 637 | |
| 638 | IPluginV2DynamicExt* CropAndResizeDynamicPluginCreator::deserializePlugin( |
| 639 | char const* /* name */, void const* serialData, size_t serialLength) noexcept |
nothing calls this directly
no test coverage detected