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

Method setPluginNamespace

plugin/detectionLayerPlugin/detectionLayerPlugin.cpp:199–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void DetectionLayer::setPluginNamespace(char const* libNamespace) noexcept
200{
201 try
202 {
203 PLUGIN_VALIDATE(libNamespace != nullptr);
204 mNameSpace = libNamespace;
205 }
206 catch (std::exception const& e)
207 {
208 caughtError(e);
209 }
210}
211
212char const* DetectionLayer::getPluginNamespace() const noexcept
213{

Callers 1

cloneMethod · 0.45

Calls 1

caughtErrorFunction · 0.85

Tested by

no test coverage detected