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();
TosaOperatorAttributeOfAny(TosaSerializationOperator *op, const Container &c)
TosaTensorNumDimensionsWithinBounds(TosaSerializationTensor *tensor)
TosaTypeAnyOf(TosaSerializationTensor *tensor, const Container &c)
constexpr unsigned int MaxNumOfTensorDimensions