AI-generated Key Takeaways
-
FirebaseModelSource enables using custom models hosted on Firebase.
-
It downloads the model to the device for use.
-
Models are identified by the name used during publishing on the Firebase Console.
-
A new FirebaseModelSource instance is created using the model's name.
FirebaseModelSource
class FirebaseModelSource : RemoteModelSourceThe model source for a custom model that is hosted remotely on the Firebase server and downloaded to the device.
-
Creates a new instance with the given Firebase remote model name. The name is the same as the one used for publishing the model on the Firebase Console.
Declaration
Swift
init(name: String)Parameters
nameThe name of the Firebase remote model.
Return Value
A new
FirebaseModelSourceinstance. -
Unavailable.