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

Function isAppleTextClassifier

mlmodel/src/Utils.cpp:744–746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742}
743
744static bool isAppleTextClassifier(const Specification::Model& model) {
745 return (model.Type_case() == Specification::Model::kTextClassifier);
746}
747
748static bool isAppleGazetteer(const Specification::Model& model) {
749 return (model.Type_case() == Specification::Model::kGazetteer);

Callers 1

hasIOS12FeaturesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected