| 236 | } |
| 237 | |
| 238 | TRTParsedArgs 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 |
nothing calls this directly
no test coverage detected