FIRModelOutputs
@interface FIRModelOutputs : NSObjectInference results of a Firebase custom model.
-
Unavailable.
Declaration
Objective-C
- (nonnull instancetype)init; -
Returns the output for a given index.
Declaration
Objective-C
- (nullable id)outputAtIndex:(NSUInteger)index error:(NSError *_Nullable *_Nullable)error;Parameters
indexThe index of the output to get.
errorThe error, if any, during the operation, including
MachineLearningErrorDomainCode.InvalidArgumentwhen:- There is no model output with given index.
Return Value
The
index-th output. Returns nil if there is an error.