Skip to content

Commit 13f773c

Browse files
authored
Enhance model deployment instructions with ADB usage
Added instructions for pushing the model to an Android device using ADB.
1 parent 7689624 commit 13f773c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • content/learning-paths/mobile-graphics-and-gaming/litert-sme

content/learning-paths/mobile-graphics-and-gaming/litert-sme/3-buid-model.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,13 @@ Now run the script:
9292
python3 model.py
9393
```
9494

95-
The model `fc_fp32.tflite` is created in FP32 format. As mentioned in the previous section, this operator can invoke the KleidiAI SME2 micro-kernel for acceleration.
95+
The model `fc_fp32.tflite` is created in FP32 format. As mentioned in the previous section, this operator can invoke the KleidiAI SME2 micro-kernel for acceleration.
96+
97+
You can then use ADB to push the model for benchmarking to your Android device.
98+
```bash
99+
adb push fc_fp32.tflite /data/local/tmp/
100+
adb shell chmod +x /data/local/tmp/fc_fp32.tflite
101+
```
96102

97103
You can also optimize this Keras model using post-training quantization to create a LiteRT model that suits your requirements.
98104

0 commit comments

Comments
 (0)