ArmNN
 24.02
OptimizationResult Struct Reference

#include <Network.hpp>

Public Member Functions

 OptimizationResult (bool warning, bool error)
 
 OptimizationResult ()
 
bool IsOk () const
 
bool IsWarningOnly () const
 
bool IsError () const
 

Public Attributes

bool m_Warning
 
bool m_Error
 

Detailed Description

Definition at line 260 of file Network.hpp.

Constructor & Destructor Documentation

◆ OptimizationResult() [1/2]

OptimizationResult ( bool  warning,
bool  error 
)
inline

Definition at line 265 of file Network.hpp.

266  : m_Warning(warning), m_Error(error)
267  {}

References armnn::error, and armnn::warning.

◆ OptimizationResult() [2/2]

OptimizationResult ( )
inline

Definition at line 269 of file Network.hpp.

270  : OptimizationResult(false, false)
271  {}

Member Function Documentation

◆ IsError()

bool IsError ( ) const
inline

Definition at line 277 of file Network.hpp.

278  { return m_Error; }

Referenced by armnn::AssignBackendsIConnectable().

◆ IsOk()

bool IsOk ( ) const
inline

Definition at line 273 of file Network.hpp.

274  { return !m_Warning && !m_Error; }

Referenced by armnn::AssignBackendsIConnectable().

◆ IsWarningOnly()

bool IsWarningOnly ( ) const
inline

Definition at line 275 of file Network.hpp.

276  { return m_Warning && !m_Error; }

Referenced by armnn::AssignBackendsIConnectable().

Member Data Documentation

◆ m_Error

◆ m_Warning

bool m_Warning

Definition at line 262 of file Network.hpp.


The documentation for this struct was generated from the following file:
armnn::OptimizationResult::m_Error
bool m_Error
Definition: Network.hpp:263
armnn::OptimizationResult::OptimizationResult
OptimizationResult()
Definition: Network.hpp:269
armnn::OptimizationResult::m_Warning
bool m_Warning
Definition: Network.hpp:262