MCPcopy Create free account
hub / github.com/apple/coremltools / hasIOS26Features

Method hasIOS26Features

mlmodel/src/Utils.cpp:722–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720}
721
722bool CoreML::hasIOS26Features(const Specification::Model& model) {
723 // New in IOS19 features:
724 // - int8 multi-array
725
726 return walkModelAndPipeline(
727 model,
728 [](const Specification::Model& m) {
729 if (hasInt8MultiArray(m)) {
730 return true;
731 }
732 return false;
733 });
734}
735
736static bool isCustomModel(const Specification::Model& model) {
737 return (model.Type_case() == Specification::Model::kCustomModel);

Callers

nothing calls this directly

Calls 2

walkModelAndPipelineFunction · 0.85
hasInt8MultiArrayFunction · 0.85

Tested by

no test coverage detected