MCPcopy Create free account
hub / github.com/Smorodov/Multitarget-tracker / getOptions

Function getOptions

src/Detector/tensorrt_yolo/common/getOptions.cpp:238–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238TRTParsedArgs getOptions(int argc, const char* const* argv, const std::vector<TRTOption>& options)
239{
240 const std::string errMsg = validateTRTOptions(options);
241 if (!errMsg.empty())
242 {
243 return TRTParsedArgs{errMsg};
244 }
245 return parseArgs(argc, argv, options);
246}
247} // namespace utility
248} // namespace nvinfer1

Callers

nothing calls this directly

Calls 3

validateTRTOptionsFunction · 0.85
parseArgsFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected