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

Function ParseIntBackendOption

include/armnn/BackendOptions.hpp:330–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330inline int ParseIntBackendOption(const armnn::BackendOptions::Var& value, int defaultValue)
331{
332 if (value.IsInt())
333 {
334 return value.AsInt();
335 }
336 return defaultValue;
337}
338
339} //namespace armnn

Callers 1

ClBackendModelContextMethod · 0.85

Calls 2

IsIntMethod · 0.80
AsIntMethod · 0.80

Tested by

no test coverage detected