ArmNN
 20.05
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 286 of file Network.hpp.

Constructor & Destructor Documentation

◆ OptimizationResult() [1/2]

OptimizationResult ( bool  warning,
bool  error 
)
inline

◆ OptimizationResult() [2/2]

OptimizationResult ( )
inline

Definition at line 296 of file Network.hpp.

297  : OptimizationResult(false, false)
298  {}

Member Function Documentation

◆ IsError()

bool IsError ( ) const
inline

Definition at line 302 of file Network.hpp.

Referenced by armnn::AssignBackends().

302 { return m_Error; }

◆ IsOk()

bool IsOk ( ) const
inline

Definition at line 300 of file Network.hpp.

Referenced by armnn::AssignBackends(), and BOOST_AUTO_TEST_CASE().

◆ IsWarningOnly()

bool IsWarningOnly ( ) const
inline

Definition at line 301 of file Network.hpp.

Referenced by armnn::AssignBackends().

Member Data Documentation

◆ m_Error

◆ m_Warning

bool m_Warning

Definition at line 288 of file Network.hpp.


The documentation for this struct was generated from the following file: