ArmNN
 24.02
TosaTypeAnyOf Struct Reference

#include <TosaLayerSupportRules.hpp>

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

Public Member Functions

template<typename Container >
 TosaTypeAnyOf (TosaSerializationTensor *tensor, const Container &c)
 

Detailed Description

Definition at line 22 of file TosaLayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ TosaTypeAnyOf()

TosaTypeAnyOf ( TosaSerializationTensor *  tensor,
const Container &  c 
)
inline

Definition at line 25 of file TosaLayerSupportRules.hpp.

26  {
27  m_Res = std::any_of(c.begin(), c.end(), [&tensor](DType dt)
28  {
29  return dt == tensor->GetDtype();
30  });
31  }

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