From d3b3014887fd930813a88d55fb198005a1d73e93 Mon Sep 17 00:00:00 2001 From: Kevin Cheung Date: Wed, 8 Feb 2023 11:48:15 -0800 Subject: [PATCH 1/2] Sync docs from Google repo --- docs/ml/use-custom-models.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/ml/use-custom-models.md b/docs/ml/use-custom-models.md index 4726adf63fcc..69a433566cd8 100644 --- a/docs/ml/use-custom-models.md +++ b/docs/ml/use-custom-models.md @@ -20,6 +20,10 @@ devices. To get a TensorFlow Lite model: - Use a pre-built model, such as one of the [official TensorFlow Lite models](https://www.tensorflow.org/lite/models){:.external} - [Convert a TensorFlow model, Keras model, or concrete function to TensorFlow Lite.](https://www.tensorflow.org/lite/convert){:.external} +Note that in the absence of a maintained TensorFlow Lite library for Dart, you +will need to integrate with the native TensorFlow Lite library for your +platforms. This integration is not documented here. + ## Before you begin 1. [Install and initialize the Firebase SDKs for Flutter](/docs/flutter/setup) @@ -120,14 +124,10 @@ so at any point before you need to use the model. ## 3. Perform inference on input data Now that you have your model file on the device you can use it with the -TensorFlow Lite interpreter to perform inference. For this, you have several -options: - -- The [native TensorFlow Lite libraries](https://www.tensorflow.org/lite){:.external} - for iOS and Android. -- One of the community-developed Flutter plugins, such as - [`tflite_flutter`](https://pub.dev/packages/tflite_flutter){:.external} or - [`tflite`](https://pub.dev/packages/tflite){:.external}. +TensorFlow Lite interpreter to perform inference. In the absence of a maintained +TensorFlow Lite library for Dart, you will need to integrate with the +[native TensorFlow Lite libraries](https://www.tensorflow.org/lite){:.external} +for iOS and Android. ## Appendix: Model security {:#model_security} From 1501a85c2febf7ef848b870bbdb59aba18f886b9 Mon Sep 17 00:00:00 2001 From: Kevin Cheung Date: Wed, 8 Feb 2023 13:49:25 -0800 Subject: [PATCH 2/2] Fix console link --- docs/app-check/default-providers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/app-check/default-providers.md b/docs/app-check/default-providers.md index 57d0b1e50227..ba247c7aedd0 100644 --- a/docs/app-check/default-providers.md +++ b/docs/app-check/default-providers.md @@ -18,7 +18,7 @@ only your app can access your project's Firebase resources. See an already done so. 1. Register your apps to use App Check with the Play Integrity, Device Check, and reCAPTCHA providers in the - [**Project Settings > App Check**](https://console.firebase.google.com/project/_/settings/appcheck) + [**Project Settings > App Check**](https://console.firebase.google.com/project/_/appcheck) section of the Firebase console. You usually need to register all of your project's apps, because once you