23 const std::vector<armnn::BackendOptions>& backendOptions = {},
27 const std::vector<armnn::BackendOptions>& backendOptions = {},
40 const std::vector<armnn::BackendId>&
GetBackends()
const {
return m_Backends; }
42 void SetBackends(
const std::vector<armnn::BackendId>& backends) { m_Backends = backends; }
44 const std::vector<armnn::BackendOptions>&
GetBackendOptions()
const {
return m_BackendOptions; }
63 {
return m_DebugCallbackFunc; }
88 std::vector<armnn::BackendOptions> m_BackendOptions;
CPU Execution: Reference C++ kernels.
LogSeverity StringToLogLevel(std::string level)
Compute
The Compute enum is now deprecated and it is now being replaced by BackendId.
const armnn::OptimizerOptions & GetOptimizerOptions() const
DelegateOptions(armnn::Compute computeDevice, const std::vector< armnn::BackendOptions > &backendOptions={}, armnn::Optional< armnn::LogSeverity > logSeverityLevel=armnn::EmptyOptional())
const std::vector< armnn::BackendOptions > & GetBackendOptions() const
void SetLoggingSeverity(const armnn::LogSeverity &level)
Sets the severity level for logging within ArmNN that will be used on creation of the delegate...
bool has_value() const noexcept
Struct for the users to pass backend specific options.
EmptyOptional is used to initialize the Optional class in case we want to have default value for an O...
void SetBackends(const std::vector< armnn::BackendId > &backends)
const std::vector< armnn::BackendId > & GetBackends() const
const armnn::Optional< armnn::DebugCallbackFunction > & GetDebugCallbackFunction() const
void AddBackendOption(const armnn::BackendOptions &option)
Appends a backend option to the list of backend options.
armnn::LogSeverity GetLoggingSeverity()
Returns the severity level for logging within ArmNN.
void SetOptimizerOptions(const armnn::OptimizerOptions &optimizerOptions)
void SetLoggingSeverity(const std::string &level)