ModelOutputs
class ModelOutputs : NSObject
Inference results of a Firebase custom model.
-
Unavailable.
-
Returns the output for a given index.
Declaration
Swift
func output(index: UInt) throws -> Any
Parameters
index
The index of the output to get.
error
The error, if any, during the operation, including
MachineLearningErrorDomainCode.InvalidArgument
when:- There is no model output with given index.
Return Value
The
index
-th output. Returns nil if there is an error.