Core ML
3
#wwdctokyo
Core ML
WWDC
WWDC
API
Core ML 3 100
• WWDC
Core ML
Core ML API
• CoreML.framework mlmodel iOS
• CoreML.framework mlmodel iOS
Core ML
CoreML.framework
API
•
•
•
coremltools
: mlmodel/format
• Core ML .mlmodel Protocol Buffers
• coremltools
• → mlmodel/format .proto
NeuralNetwork.proto
ConvolutionLayerParams convolution = 100;
PoolingLayerParams pooling = 120;
ActivationParams activation = 130;
InnerProductLayerParams innerProduct = 140;
EmbeddingLayerParams embedding = 150;
...
→
Model.proto
• Core ML proto
•
message Model {
int32 specificationVersion = 1;
ModelDescription description = 2;
bool isUpdatable = 10;
oneof Type {
// pipeline starts at 200
PipelineClassifier pipelineClassifier = 200;
PipelineRegressor pipelineRegressor = 201;
Pipeline pipeline = 202;
// regressors start at 300
GLMRegressor glmRegressor = 300;
...
examples
•
•
•
• API
Create ML Turi Create
• Create ML
• TensorFlow PyTorch
•
note
• Core ML WWDC
Core ML API
• coremltools
• Core ML .mlmodel
•
Core ML Tools
• 3500 1500 +
•
WWDC2020
• 500
•

Core MLのアップデートを3倍楽しむ方法 #wwdctokyo