ArmNN
 24.02
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)
 

Detailed Description

Definition at line 10 of file TosaLayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ TosaOperatorAttributeOfAny()

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

Definition at line 13 of file TosaLayerSupportRules.hpp.

14  {
15  m_Res = std::any_of(c.begin(), c.end(), [&op](Attribute attribute)
16  {
17  return attribute == op->GetAttributeType();
18  });
19  }

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