Skip to content

Commit f723d48

Browse files
authored
Update 3-buid-model.md
1 parent 7bf5d98 commit f723d48

1 file changed

Lines changed: 8 additions & 5 deletions

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: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Only a subset of KleidiAI SME, SME2 micro-kernels has been integrated into XNNPA
1313
These micro-kernels support operators using the following data types and quantization configurations in the LiteRT model.
1414
Other operators are using XNNPACK’s default implementation during the inference.
1515

16-
* Fully connected
16+
Fully connected:
17+
1718
| Activations | Weights | Output |
1819
| ---------------------------- | --------------------------------------- | ---------------------------- |
1920
| FP32 | FP32 | FP32 |
@@ -22,15 +23,16 @@ Other operators are using XNNPACK’s default implementation during the inferenc
2223
| Asymmetric INT8 quantization | Per-channel symmetric INT8 quantization | Asymmetric INT8 quantization |
2324
| FP32 | Per-channel symmetric INT4 quantization | FP32 |
2425

25-
* Batch Matrix Multiply
26+
Batch Matrix Multiply:
27+
2628
| Input A | Input B |
2729
| ------- | --------------------------------------- |
2830
| FP32 | FP32 |
2931
| FP16 | FP16 |
3032
| FP32 | Per-channel symmetric INT8 quantization |
3133

34+
Conv2D:
3235

33-
* Conv2D
3436
| Activations | Weights | Output |
3537
| ---------------------------- | ----------------------------------------------------- | ---------------------------- |
3638
| FP32 | FP32, pointwise (kernerl size is 1) | FP32 |
@@ -39,7 +41,8 @@ Other operators are using XNNPACK’s default implementation during the inferenc
3941
| Asymmetric INT8 quantization | Per-channel or per-tensor symmetric INT8 quantization | Asymmetric INT8 quantization |
4042

4143

42-
* TransposeConv
44+
TransposeConv:
45+
4346
| Activations | Weights | Output |
4447
| ---------------------------- | ----------------------------------------------------- | ---------------------------- |
4548
| Asymmetric INT8 quantization | Per-channel or per-tensor symmetric INT8 quantization | Asymmetric INT8 quantization |
@@ -48,7 +51,7 @@ Other operators are using XNNPACK’s default implementation during the inferenc
4851
### Create LiteRT models using Keras
4952
To demonstrate SME2 acceleration on Android, you will construct simple single-layer models (e.g., Fully Connected) using Keras and convert them into LiteRT (.tflite) format.
5053
This allows you to benchmark isolated operators and directly observe SME2 improvements.
51-
The following script is provided as an example:
54+
Use the following script as an example:
5255

5356
``` python
5457
import tensorflow as tf

0 commit comments

Comments
 (0)