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

Method deserializePlugin

plugin/specialSlicePlugin/specialSlicePlugin.cpp:69–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69IPluginV2Ext* SpecialSlicePluginCreator::deserializePlugin(char const* name, void const* data, size_t length) noexcept
70{
71 try
72 {
73 return new SpecialSlice(data, length);
74 }
75 catch (std::exception const& e)
76 {
77 caughtError(e);
78 }
79 return nullptr;
80}
81
82size_t SpecialSlice::getWorkspaceSize(int32_t) const noexcept
83{

Callers

nothing calls this directly

Calls 1

caughtErrorFunction · 0.85

Tested by

no test coverage detected