| 323 | } |
| 324 | |
| 325 | IPluginV2Ext* FlattenConcat::clone() const noexcept |
| 326 | { |
| 327 | try |
| 328 | { |
| 329 | auto* plugin = new FlattenConcat(mConcatAxisID, mIgnoreBatch, mNumInputs, mOutputConcatAxis, |
| 330 | mInputConcatAxis.data(), mCopySize.data(), mCHW); |
| 331 | plugin->setPluginNamespace(mPluginNamespace.c_str()); |
| 332 | return plugin; |
| 333 | } |
| 334 | catch (std::exception const& e) |
| 335 | { |
| 336 | caughtError(e); |
| 337 | } |
| 338 | return nullptr; |
| 339 | } |
| 340 | |
| 341 | FlattenConcatPluginCreator::FlattenConcatPluginCreator() |
| 342 | { |
nothing calls this directly
no test coverage detected