MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / createPlugin

Method createPlugin

plugin/specialSlicePlugin/specialSlicePlugin.cpp:56–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56IPluginV2Ext* SpecialSlicePluginCreator::createPlugin(char const* name, PluginFieldCollection const* fc) noexcept
57{
58 try
59 {
60 return new SpecialSlice();
61 }
62 catch (std::exception const& e)
63 {
64 caughtError(e);
65 }
66 return nullptr;
67}
68
69IPluginV2Ext* SpecialSlicePluginCreator::deserializePlugin(char const* name, void const* data, size_t length) noexcept
70{

Callers

nothing calls this directly

Calls 1

caughtErrorFunction · 0.85

Tested by

no test coverage detected