12 template<
typename Container>
15 m_Res = std::any_of(c.begin(), c.end(), [&op](Attribute attribute)
17 return attribute == op->GetAttributeType();
24 template<
typename Container>
27 m_Res = std::any_of(c.begin(), c.end(), [&tensor](DType dt)
29 return dt == tensor->GetDtype();
44 template<
typename Container>
47 m_Res = (c1.size() == c2.size());
54 const std::vector<std::tuple<DType, DType>>& c)
58 if (std::get<0>(check) == std::get<0>(item) &&
59 std::get<1>(check) == std::get<1>(item))
72 const std::vector<std::tuple<DType, DType, DType>>& c)
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))