ArmNN
 25.11
Loading...
Searching...
No Matches
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()

template<typename Container>
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 }

References Rule::m_Res.


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