ArmNN
 24.08
BackendOptions.hpp File Reference
#include "BackendId.hpp"
#include <armnn/Exceptions.hpp>
#include <cassert>
Include dependency graph for BackendOptions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BackendOptions
 Struct for the users to pass backend specific options. More...
 
class  BackendOptions::Var
 Very basic type safe variant. More...
 
struct  BackendOptions::BackendOption
 

Namespaces

 armnn
 Copyright (c) 2021 ARM Limited and Contributors.
 

Typedefs

using NetworkOptions = std::vector< BackendOptions >
 
using ModelOptions = std::vector< BackendOptions >
 
using BackendCapabilities = BackendOptions
 

Functions

template<typename F >
void ParseOptions (const std::vector< BackendOptions > &options, BackendId backend, F f)
 
bool ParseBooleanBackendOption (const armnn::BackendOptions::Var &value, bool defaultValue)
 
std::string ParseStringBackendOption (const armnn::BackendOptions::Var &value, std::string defaultValue)
 
int ParseIntBackendOption (const armnn::BackendOptions::Var &value, int defaultValue)