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

Detailed Description

Definition at line 69 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 71 of file TosaLayerSupportRules.hpp.

73  {
74  for (auto item: c)
75  {
76  if (std::get<0>(check) == std::get<0>(item) &&
77  std::get<1>(check) == std::get<1>(item) &&
78  std::get<2>(check) == std::get<2>(item))
79  {
80  m_Res = true;
81  return;
82  }
83  }
84  m_Res = false;
85  }

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