MCPcopy Create free account
hub / github.com/ARM-software/armnn / CheckOptionSpecified

Function CheckOptionSpecified

samples/common/src/Utils/CmdArgsParser.cpp:11–15  ·  view source on GitHub ↗

* Checks that a particular option was specified by the user */

Source from the content-addressed store, hash-verified

9 * Checks that a particular option was specified by the user
10 */
11bool CheckOptionSpecified(const std::map<std::string, std::string>& options, const std::string& option)
12{
13 auto it = options.find(option);
14 return it!=options.end();
15}
16
17/*
18 * Retrieves the user provided option

Callers 5

mainFunction · 0.85
GetFrameSourceAndSinkFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
GetSpecifiedOptionFunction · 0.85

Calls 1

endMethod · 0.45

Tested by

no test coverage detected