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

Function isObjectPrint

mlmodel/src/Utils.cpp:770–774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768}
769
770static bool isObjectPrint(const Specification::Model& model) {
771 return
772 model.Type_case() == Specification::Model::kVisionFeaturePrint &&
773 model.visionfeatureprint().has_objects();
774}
775
776static bool isAppleAudioFeatureExtractor(const Specification::Model& model) {
777 return (model.Type_case() == Specification::Model::kAudioFeaturePrint);

Callers 1

hasIOS14FeaturesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected