ModelOutputs
class ModelOutputs : NSObjectInference results of a Firebase custom model.
-
Unavailable.
-
Returns the output for a given index.
Declaration
Swift
func output(index: UInt) throws -> AnyParameters
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.