| 278 | } |
| 279 | |
| 280 | IPluginV2Ext* ScatterNDPluginCreator::deserializePlugin( |
| 281 | char const* name, void const* serialData, size_t serialLength) noexcept |
| 282 | { |
| 283 | try |
| 284 | { |
| 285 | // This object will be deleted when the network is destroyed, which will |
| 286 | // call Normalize::destroy() |
| 287 | ScatterND* obj = new ScatterND(); |
| 288 | obj->setPluginNamespace(mNamespace.c_str()); |
| 289 | return obj; |
| 290 | } |
| 291 | catch (std::exception const& e) |
| 292 | { |
| 293 | caughtError(e); |
| 294 | } |
| 295 | return nullptr; |
| 296 | } |
| 297 | } // namespace plugin |
| 298 | } // namespace nvinfer1 |
nothing calls this directly
no test coverage detected