| 156 | } |
| 157 | |
| 158 | IPluginV2Ext* CoordConvACPlugin::clone() const noexcept |
| 159 | { |
| 160 | try |
| 161 | { |
| 162 | auto* plugin = new CoordConvACPlugin(iType, iC, iH, iW, oC, oH, oW); |
| 163 | plugin->setPluginNamespace(mPluginNamespace); |
| 164 | return plugin; |
| 165 | } |
| 166 | catch (std::exception const& e) |
| 167 | { |
| 168 | caughtError(e); |
| 169 | } |
| 170 | return nullptr; |
| 171 | } |
| 172 | |
| 173 | void CoordConvACPlugin::setPluginNamespace(char const* pluginNamespace) noexcept |
| 174 | { |
nothing calls this directly
no test coverage detected