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

Function ParseStringBackendOption

include/armnn/BackendOptions.hpp:321–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321inline std::string ParseStringBackendOption(const armnn::BackendOptions::Var& value, std::string defaultValue)
322{
323 if (value.IsString())
324 {
325 return value.AsString();
326 }
327 return defaultValue;
328}
329
330inline int ParseIntBackendOption(const armnn::BackendOptions::Var& value, int defaultValue)
331{

Callers 2

ClBackendContextMethod · 0.85
RuntimeImplMethod · 0.85

Calls 2

IsStringMethod · 0.80
AsStringMethod · 0.45

Tested by

no test coverage detected