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

Function createONNXParser

samples/trtexec/trtexec.cpp:227–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227nvonnxparser::IParser* createONNXParser(INetworkDefinition& network)
228{
229 if (!initNvonnxparser())
230 {
231 return {};
232 }
233 ASSERT(pCreateNvOnnxParserInternal != nullptr);
234 return static_cast<nvonnxparser::IParser*>(
235 pCreateNvOnnxParserInternal(&network, &gLogger.getTRTLogger(), NV_ONNX_PARSER_VERSION));
236}
237
238nvcaffeparser1::ICaffeParser* sampleCreateCaffeParser()
239{

Callers

nothing calls this directly

Calls 1

initNvonnxparserFunction · 0.85

Tested by

no test coverage detected