Skip to content

Instantly share code, notes, and snippets.

@boaerosuke
Created August 16, 2017 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boaerosuke/c369bd52c6bd9c470925c21a8c34eb30 to your computer and use it in GitHub Desktop.
Save boaerosuke/c369bd52c6bd9c470925c21a8c34eb30 to your computer and use it in GitHub Desktop.
Initializing a keras model as MLModel and VNCoreMLModel
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