TFLiteModel interface

Firebase ML is deprecated and will be shut down on June 15, 2027. To host custom models, you must migrate to another solution. You can use Cloud Storage for Firebase as an alternative for hosting custom models. For more info, see https://firebase.google.com/docs/ml/migrate-to-cloud-storage

A TensorFlow Lite Model output object

Signature:

export interface TFLiteModel 

Properties

Property Type Description
gcsTfliteUri string The URI from which the model was originally provided to Firebase.
sizeBytes number The size of the model.

TFLiteModel.gcsTfliteUri

The URI from which the model was originally provided to Firebase.

Signature:

readonly gcsTfliteUri?: string;

TFLiteModel.sizeBytes

The size of the model.

Signature:

readonly sizeBytes: number;