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

Method ParserOnnxConfig

samples/common/parserOnnxConfig.h:51–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50public:
51 ParserOnnxConfig()
52 : mModelDtype(nvinfer1::DataType::kFLOAT)
53 , mVerbosity(static_cast<int>(nvinfer1::ILogger::Severity::kWARNING))
54 , mPrintLayercInfo(false)
55 {
56#ifdef ONNX_DEBUG
57 if (isDebug())
58 {
59 std::cout << " ParserOnnxConfig::ctor(): " << this << "\t" << std::endl;
60 }
61#endif
62 }
63
64protected:
65 ~ParserOnnxConfig() override

Callers

nothing calls this directly

Calls 1

isDebugFunction · 0.85

Tested by

no test coverage detected