| 295 | |
| 296 | template <typename F> |
| 297 | void ParseOptions(const std::vector<BackendOptions>& options, BackendId backend, F f) |
| 298 | { |
| 299 | for (auto optionsGroup : options) |
| 300 | { |
| 301 | if (optionsGroup.GetBackendId() == backend) |
| 302 | { |
| 303 | for (size_t i=0; i < optionsGroup.GetOptionCount(); i++) |
| 304 | { |
| 305 | const BackendOptions::BackendOption option = optionsGroup.GetOption(i); |
| 306 | f(option.GetName(), option.GetValue()); |
| 307 | } |
| 308 | } |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | inline bool ParseBooleanBackendOption(const armnn::BackendOptions::Var& value, bool defaultValue) |
| 313 | { |
nothing calls this directly
no test coverage detected