24.08
|
#include <INetwork.hpp>
Public Member Functions | |
OptimizerOptionsOpaque () | |
OptimizerOptionsOpaque (const OptimizerOptionsOpaque &other) | |
~OptimizerOptionsOpaque () | |
OptimizerOptionsOpaque (const OptimizerOptions &OptimizerStruct) | |
OptimizerOptionsOpaque & | operator= (OptimizerOptionsOpaque other) |
OptimizerOptionsOpaque (bool reduceFp32ToFp16, bool debug, bool reduceFp32ToBf16, bool importEnabled, ModelOptions modelOptions={}, bool exportEnabled=false, bool debugToFile=false) | |
OptimizerOptionsOpaque (bool reduceFp32ToFp16, bool debug, bool reduceFp32ToBf16=false, ShapeInferenceMethod shapeInferenceMethod=armnn::ShapeInferenceMethod::ValidateOnly, bool importEnabled=false, ModelOptions modelOptions={}, bool exportEnabled=false, bool debugToFile=false, bool allowExpandedDims=false) | |
const std::string | ToString () const |
bool | GetProfilingEnabled () const |
bool | GetImportEnabled () const |
bool | GetExportEnabled () const |
bool | GetReduceFp32ToFp16 () const |
bool | GetReduceFp32ToBf16 () const |
bool | GetDebugEnabled () const |
bool | GetDebugToFileEnabled () const |
bool | GetAllowExpandedDims () const |
armnn::ModelOptions | GetModelOptions () const |
armnn::ShapeInferenceMethod | GetShapeInferenceMethod () const |
void | SetImportEnabled (bool ImportState) |
void | SetExportEnabled (bool ExportState) |
void | SetProfilingEnabled (bool ProfilingState) |
void | SetDebugEnabled (bool DebugState) |
void | SetDebugToFileEnabled (bool DebugFileState) |
void | SetReduceFp32ToFp16 (bool ReduceFp32ToFp16State) |
void | SetShapeInferenceMethod (armnn::ShapeInferenceMethod ShapeInferenceMethodType) |
void | AddModelOption (armnn::BackendOptions) |
void | SetAllowExpandedDims (bool ExpandedDimsAllowed) |
Definition at line 272 of file INetwork.hpp.
Definition at line 49 of file Network.cpp.
OptimizerOptionsOpaque | ( | const OptimizerOptionsOpaque & | other | ) |
Definition at line 54 of file Network.cpp.
|
default |
OptimizerOptionsOpaque | ( | const OptimizerOptions & | OptimizerStruct | ) |
Definition at line 81 of file Network.cpp.
References OptimizerOptions::m_AllowExpandedDims, OptimizerOptions::m_Debug, OptimizerOptions::m_DebugToFile, OptimizerOptions::m_ExportEnabled, OptimizerOptions::m_ImportEnabled, OptimizerOptions::m_ModelOptions, OptimizerOptions::m_ProfilingEnabled, OptimizerOptions::m_ReduceFp32ToBf16, OptimizerOptions::m_ReduceFp32ToFp16, and OptimizerOptions::m_shapeInferenceMethod.
OptimizerOptionsOpaque | ( | bool | reduceFp32ToFp16, |
bool | debug, | ||
bool | reduceFp32ToBf16, | ||
bool | importEnabled, | ||
ModelOptions | modelOptions = {} , |
||
bool | exportEnabled = false , |
||
bool | debugToFile = false |
||
) |
Definition at line 61 of file Network.cpp.
References armnn::debug.
OptimizerOptionsOpaque | ( | bool | reduceFp32ToFp16, |
bool | debug, | ||
bool | reduceFp32ToBf16 = false , |
||
ShapeInferenceMethod | shapeInferenceMethod = armnn::ShapeInferenceMethod::ValidateOnly , |
||
bool | importEnabled = false , |
||
ModelOptions | modelOptions = {} , |
||
bool | exportEnabled = false , |
||
bool | debugToFile = false , |
||
bool | allowExpandedDims = false |
||
) |
Definition at line 70 of file Network.cpp.
References armnn::debug.
void AddModelOption | ( | armnn::BackendOptions | NewModelOption | ) |
Definition at line 151 of file Network.cpp.
Referenced by ArmnnDriverImpl::PrepareArmnnModel(), and ArmnnDriverImpl::PrepareArmnnModelFromCache().
bool GetAllowExpandedDims | ( | ) | const |
Definition at line 191 of file Network.cpp.
Referenced by OptimizerOptionsOpaque::operator=().
bool GetDebugEnabled | ( | ) | const |
Definition at line 181 of file Network.cpp.
Referenced by OptimizerOptionsOpaque::operator=(), and armnn::Optimize().
bool GetDebugToFileEnabled | ( | ) | const |
Definition at line 186 of file Network.cpp.
Referenced by OptimizerOptionsOpaque::operator=(), and armnn::Optimize().
bool GetExportEnabled | ( | ) | const |
Definition at line 166 of file Network.cpp.
Referenced by OptimizerOptionsOpaque::operator=(), and armnn::Optimize().
bool GetImportEnabled | ( | ) | const |
Definition at line 161 of file Network.cpp.
Referenced by OptimizerOptionsOpaque::operator=(), and armnn::Optimize().
armnn::ModelOptions GetModelOptions | ( | ) | const |
Definition at line 196 of file Network.cpp.
Referenced by OptimizerOptionsOpaque::operator=(), and armnn::Optimize().
bool GetProfilingEnabled | ( | ) | const |
Definition at line 156 of file Network.cpp.
Referenced by OptimizerOptionsOpaque::operator=(), and armnn::Optimize().
bool GetReduceFp32ToBf16 | ( | ) | const |
Definition at line 176 of file Network.cpp.
Referenced by OptimizerOptionsOpaque::operator=(), and armnn::Optimize().
bool GetReduceFp32ToFp16 | ( | ) | const |
Definition at line 171 of file Network.cpp.
Referenced by OptimizerOptionsOpaque::operator=(), and armnn::Optimize().
armnn::ShapeInferenceMethod GetShapeInferenceMethod | ( | ) | const |
Definition at line 201 of file Network.cpp.
Referenced by OptimizerOptionsOpaque::operator=(), and armnn::Optimize().
OptimizerOptionsOpaque & operator= | ( | OptimizerOptionsOpaque | other | ) |
Definition at line 96 of file Network.cpp.
References OptimizerOptionsOpaque::GetAllowExpandedDims(), OptimizerOptionsOpaque::GetDebugEnabled(), OptimizerOptionsOpaque::GetDebugToFileEnabled(), OptimizerOptionsOpaque::GetExportEnabled(), OptimizerOptionsOpaque::GetImportEnabled(), OptimizerOptionsOpaque::GetModelOptions(), OptimizerOptionsOpaque::GetProfilingEnabled(), OptimizerOptionsOpaque::GetReduceFp32ToBf16(), OptimizerOptionsOpaque::GetReduceFp32ToFp16(), and OptimizerOptionsOpaque::GetShapeInferenceMethod().
void SetAllowExpandedDims | ( | bool | ExpandedDimsAllowed | ) |
Definition at line 146 of file Network.cpp.
void SetDebugEnabled | ( | bool | DebugState | ) |
Definition at line 126 of file Network.cpp.
void SetDebugToFileEnabled | ( | bool | DebugFileState | ) |
Definition at line 131 of file Network.cpp.
void SetExportEnabled | ( | bool | ExportState | ) |
Definition at line 116 of file Network.cpp.
void SetImportEnabled | ( | bool | ImportState | ) |
Definition at line 111 of file Network.cpp.
void SetProfilingEnabled | ( | bool | ProfilingState | ) |
Definition at line 121 of file Network.cpp.
Referenced by ArmnnDriverImpl::PrepareArmnnModel(), and ArmnnDriverImpl::PrepareArmnnModelFromCache().
void SetReduceFp32ToFp16 | ( | bool | ReduceFp32ToFp16State | ) |
Definition at line 136 of file Network.cpp.
Referenced by ArmnnDriverImpl::PrepareArmnnModel(), and ArmnnDriverImpl::PrepareArmnnModelFromCache().
void SetShapeInferenceMethod | ( | armnn::ShapeInferenceMethod | ShapeInferenceMethodType | ) |
Definition at line 141 of file Network.cpp.
const std::string ToString | ( | ) | const |
Definition at line 206 of file Network.cpp.
References BackendOptions::BackendOption::GetName(), BackendOptions::BackendOption::GetValue(), BackendOptions::Var::ToString(), and armnn::ValidateOnly.
Referenced by armnn::Optimize().