MPPClassifications
@interface MPPClassifications : NSObjectRepresents the list of classification for a given classifier head. Typically used as a result for classification tasks.
- 
                  
                  The index of the classifier head these entries refer to. This is useful for multi-head models. DeclarationObjective-C @property (nonatomic, readonly) NSInteger headIndex;
- 
                  
                  The optional name of the classifier head, which is the corresponding tensor metadata name. DeclarationObjective-C @property (nonatomic, readonly, nullable) NSString *headName;
- 
                  
                  An array of Categoryobjects containing the predicted categories.DeclarationObjective-C @property (nonatomic, readonly) NSArray<MPPCategory *> *_Nonnull categories;
- 
                  
                  Initializes a new Classificationsobject with the given head index and array of categories. Head name is initialized tonil.DeclarationObjective-C - (nonnull instancetype)initWithHeadIndex:(NSInteger)headIndex categories: (nonnull NSArray<MPPCategory *> *)categories;ParametersheadIndexThe index of the classifier head. categoriesAn array of Categoryobjects containing the predicted categories.Return ValueAn instance of Classificationsinitialized with the given head index and array of categories.
- 
                  
                  Initializes a new Classificationswith the given head index, head name and array of categories.DeclarationObjective-C - (nonnull instancetype)initWithHeadIndex:(NSInteger)headIndex headName:(nullable NSString *)headName categories: (nonnull NSArray<MPPCategory *> *)categories;ParametersheadIndexThe index of the classifier head. headNameThe name of the classifier head, which is the corresponding tensor metadata name. categoriesAn array of Categoryobjects containing the predicted categories.Return ValueAn object of Classificationsinitialized with the given head index, head name and array of categories.
- 
                  
                  Undocumented DeclarationObjective-C - (instancetype)init NS_UNAVAILABLE;
- 
                  
                  Undocumented DeclarationObjective-C + (instancetype)new NS_UNAVAILABLE;