Skip to content

Instantly share code, notes, and snippets.

@DreamingInBinary
Created February 22, 2018 18:46
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 DreamingInBinary/540c2f9370db993b1e8733b11bfdf660 to your computer and use it in GitHub Desktop.
Save DreamingInBinary/540c2f9370db993b1e8733b11bfdf660 to your computer and use it in GitHub Desktop.
Machine Leaning Blog Post: Snip 2
//
// Inceptionv3.h
//
// This file was automatically generated and should not be edited.
//
#import <Foundation/Foundation.h>
#import <CoreML/CoreML.h>
#include <stdint.h>
NS_ASSUME_NONNULL_BEGIN
/// Model Prediction Input Type
API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
@interface Inceptionv3Input : NSObject<MLFeatureProvider>
/// Input image to be classified as color (kCVPixelFormatType_32BGRA) image buffer, 299 pixels wide by 299 pixels high
@property (readwrite, nonatomic) CVPixelBufferRef image;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithImage:(CVPixelBufferRef)image;
@end
/// Model Prediction Output Type
// More code to initialize things, etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment