| 401 | } |
| 402 | |
| 403 | static bool hasFloat16MultiArray(const Specification::Model& model) { |
| 404 | return anyFeatureDescriptionOfModel( |
| 405 | model, |
| 406 | [](const auto& fd) { |
| 407 | return |
| 408 | (fd.type().Type_case() == Specification::FeatureType::kMultiArrayType) && |
| 409 | (fd.type().multiarraytype().datatype() == Specification::ArrayFeatureType_ArrayDataType_FLOAT16); |
| 410 | }); |
| 411 | } |
| 412 | |
| 413 | |
| 414 | static bool hasInt8MultiArray(const Specification::Model& model) { |
no test coverage detected