Created
August 16, 2017 16:20
-
-
Save boaerosuke/c369bd52c6bd9c470925c21a8c34eb30 to your computer and use it in GitHub Desktop.
Initializing a keras model as MLModel and VNCoreMLModel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MLModel *ml_model = [[[keras_mnist_cnn alloc] init] model]; | |
VNCoreMLModel *vnc_core_ml_model = [VNCoreMLModel modelForMLModel: ml_model error:nil]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment