CodePudding user response:
After some research what I've found:
https://apple.github.io/coremltools/mlmodel/Format/MIL.html#program
message Program {
int64 version = 1;
// Must be unique within the containing program
// Names must be valid identifiers as described above.
map<string, Function> functions = 2;
string docString = 3;
// Any other attributes not described by other fields.
// Keys must be valid identifiers as described above.
map<string, Value> attributes = 4;
}
It looks like this is using the protobuf to represent an Core ML and the particular example must be using the swift implementation:
https://github.com/apple/swift-protobuf
But it turns out that the exact syntax shown in the video isn't that and I wasn't able to find a way to use it - the only part I was able to link (BlobFile) -> to some Quip URL.
CodePudding user response:
I think Xcode creates a framework for you. try right-clicking on the Xcode icon > Developer tools > Create ML On the other hand, if you need to load an existing model, check out this link: https://www.youtube.com/watch?v=uRFxyk-xGE4&ab_channel=MammothInteractive

