ArmNN
 24.02
TosaContainerContainsTwoTypes Struct Reference

#include <TosaLayerSupportRules.hpp>

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

Public Member Functions

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

Detailed Description

Definition at line 51 of file TosaLayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ TosaContainerContainsTwoTypes()

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

Definition at line 53 of file TosaLayerSupportRules.hpp.

55  {
56  for (auto item: c)
57  {
58  if (std::get<0>(check) == std::get<0>(item) &&
59  std::get<1>(check) == std::get<1>(item))
60  {
61  m_Res = true;
62  return;
63  }
64  }
65  m_Res = false;
66  }

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