ArmNN
 25.11
Loading...
Searching...
No Matches
TosaContainerContainsThreeTypes Struct Reference

#include <TosaLayerSupportRules.hpp>

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

Public Member Functions

 TosaContainerContainsThreeTypes (std::tuple< DType, DType, DType > &check, const std::vector< std::tuple< DType, DType, DType > > &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 74 of file TosaLayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ TosaContainerContainsThreeTypes()

TosaContainerContainsThreeTypes ( std::tuple< DType, DType, DType > & check,
const std::vector< std::tuple< DType, DType, DType > > & c )
inlineexplicit

Definition at line 76 of file TosaLayerSupportRules.hpp.

78 {
79 for (auto item: c)
80 {
81 if (std::get<0>(check) == std::get<0>(item) &&
82 std::get<1>(check) == std::get<1>(item) &&
83 std::get<2>(check) == std::get<2>(item))
84 {
85 m_Res = true;
86 return;
87 }
88 }
89 m_Res = false;
90 }

References Rule::m_Res.


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