public final class FirebaseModelOutputs extends Object
This class is deprecated.
For more information refer to the custom model implementation instructions.
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. |