| 123 | } |
| 124 | |
| 125 | IPluginV2* LReLU::clone() const noexcept |
| 126 | { |
| 127 | try |
| 128 | { |
| 129 | IPluginV2* plugin = new LReLU(mNegSlope); |
| 130 | plugin->setPluginNamespace(mNamespace.c_str()); |
| 131 | return plugin; |
| 132 | } |
| 133 | catch (std::exception const& e) |
| 134 | { |
| 135 | caughtError(e); |
| 136 | } |
| 137 | return nullptr; |
| 138 | } |
| 139 | |
| 140 | LReluPluginCreator::LReluPluginCreator() |
| 141 | { |
nothing calls this directly
no test coverage detected