| 454 | } |
| 455 | |
| 456 | static bool hasGrayscaleFloat16Image(const Specification::Model& model) { |
| 457 | return anyFeatureDescriptionOfModel( |
| 458 | model, |
| 459 | [](const auto& fd) { |
| 460 | return |
| 461 | (fd.type().Type_case() == Specification::FeatureType::kImageType) && |
| 462 | (fd.type().imagetype().colorspace() == Specification::ImageFeatureType_ColorSpace_GRAYSCALE_FLOAT16); |
| 463 | }); |
| 464 | } |
| 465 | |
| 466 | bool CoreML::hasIOS11_2Features(const Specification::Model& model) { |
| 467 | return walkModelAndPipeline( |
no test coverage detected