FirebaseModelOutputs

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

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.