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

Function isCustomModel

mlmodel/src/Utils.cpp:736–738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734}
735
736static bool isCustomModel(const Specification::Model& model) {
737 return (model.Type_case() == Specification::Model::kCustomModel);
738}
739
740static bool isAppleWordTagger(const Specification::Model& model) {
741 return (model.Type_case() == Specification::Model::kWordTagger);

Callers 1

hasIOS12FeaturesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected