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

Method hasIOS11_2Features

mlmodel/src/Utils.cpp:466–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464}
465
466bool CoreML::hasIOS11_2Features(const Specification::Model& model) {
467 return walkModelAndPipeline(
468 model,
469 [](const Specification::Model& m) {
470 return
471 hasCustomLayer(m) ||
472 hasFP16Weights(m);
473 });
474}
475
476bool CoreML::hasIOS12Features(const Specification::Model& model) {
477 // New IOS12 features: flexible shapes, custom model, sequence feature type,

Callers

nothing calls this directly

Calls 1

walkModelAndPipelineFunction · 0.85

Tested by

no test coverage detected