| 790 | } |
| 791 | |
| 792 | static bool hasCategoricalSequences(const Specification::Model& model) { |
| 793 | return anyFeatureDescriptionOfModel( |
| 794 | model, |
| 795 | [](const auto& fd) { |
| 796 | if (fd.type().Type_case() == Specification::FeatureType::kSequenceType) { |
| 797 | switch (fd.type().sequencetype().Type_case()) { |
| 798 | case Specification::SequenceFeatureType::kStringType: |
| 799 | case Specification::SequenceFeatureType::kInt64Type: |
| 800 | return true; |
| 801 | default: |
| 802 | break; |
| 803 | } |
| 804 | } |
| 805 | return false; |
| 806 | }); |
| 807 | } |
| 808 | |
| 809 | static bool hasIOS12NewNeuralNetworkLayers(const Specification::Model& model) { |
| 810 |
no test coverage detected