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

Method setPluginNamespace

plugin/cropAndResizePlugin/cropAndResizePlugin.cpp:377–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377void CropAndResizePlugin::setPluginNamespace(char const* libNamespace) noexcept
378{
379 try
380 {
381 PLUGIN_VALIDATE(libNamespace != nullptr);
382 mNamespace = libNamespace;
383 }
384 catch (std::exception const& e)
385 {
386 caughtError(e);
387 }
388}
389
390void CropAndResizeDynamicPlugin::setPluginNamespace(char const* libNamespace) noexcept
391{

Callers 3

cloneMethod · 0.45
createPluginMethod · 0.45
deserializePluginMethod · 0.45

Calls 1

caughtErrorFunction · 0.85

Tested by

no test coverage detected