ArmNN
 25.02
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TosaOperatorAttributeOfAny Struct Reference

#include <TosaLayerSupportRules.hpp>

Inheritance diagram for TosaOperatorAttributeOfAny:
[legend]
Collaboration diagram for TosaOperatorAttributeOfAny:
[legend]

Public Member Functions

template<typename Container >
 TosaOperatorAttributeOfAny (TosaSerializationOperator *op, const Container &c)
 
- Public Member Functions inherited from Rule
bool operator() () const
 

Additional Inherited Members

- Public Attributes inherited from Rule
bool m_Res = true
 

Detailed Description

Definition at line 15 of file TosaLayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ TosaOperatorAttributeOfAny()

TosaOperatorAttributeOfAny ( TosaSerializationOperator *  op,
const Container &  c 
)
inlineexplicit

Definition at line 18 of file TosaLayerSupportRules.hpp.

19  {
20  m_Res = std::any_of(c.begin(), c.end(), [&op](Attribute attribute)
21  {
22  return attribute == op->GetAttributeType();
23  });
24  }

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