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.

Learn how to create sophisticated customized logic to control how you receive alerts for billing updates and even programmatically respond to them.

Updated Feb 25, 2025

ML Kit for Firebase provided ready-to-use ML solutions for app developers. New apps should use the standalone ML Kit library for on-device ML and Firebase ML for cloud-based ML.

Updated Feb 25, 2025

ML Kit for Firebase provided ready-to-use ML solutions for app developers. New apps should use the standalone ML Kit library for on-device ML and Firebase ML for cloud-based ML.

Updated Feb 25, 2025