Created
February 22, 2018 18:46
-
-
Save DreamingInBinary/540c2f9370db993b1e8733b11bfdf660 to your computer and use it in GitHub Desktop.
Machine Leaning Blog Post: Snip 2
This file contains hidden or 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
// | |
// 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