FirebaseModelOutputs

public final class FirebaseModelOutputs extends Object

Stores inference results.

Public Method Summary

<T> T
getOutput(int index)
Gets index-th output.

Inherited Method Summary

Public Methods

public T getOutput (int index)

Gets index-th output.

Example: byte[][] probs = firebaseModelResult.getOutput(0);

Throws
IllegalArgumentException if the index does not exist.
ClassCastException if type argument 'T' does not match the corresponding data type and dimension specified in the model file.

Send feedback about...

Need help? Visit our support page.