nuttx-update/boards
chao an 2961ecab9f sim/tflm: add tflite-micro demo into ci build
$ cmake -B build -DBOARD_CONFIG=sim/tflm -GNinja
$ cmake --build build
$ ./build/nuttx

NuttShell (NSH) NuttX-10.4.0
nsh> tflm -h

Utility to use tflite micro on nuttx.
[ -C       ] Compile tflite model into c++ codes.
[ -E       ] Do once evaluation (for profiling).
[ -i <str> ] Readable model file path.
[ -o <str> ] Writable c++ file path.
[ -p <str> ] Prefix of compiled code.
[ -a <int> ] Arena size (mempool).
[ -h       ] Print this message.

nsh> tflm -E -i /data/MobileNet-v3-Small.tflite -o /data/MbileNet-v3-Small.out
0 (id=0): size=602112, offset=0, first_used=0 last_used=1
1 (id=1): size=602112, offset=602112, first_used=1 last_used=2
2 (id=2): size=602112, offset=0, first_used=2 last_used=3
3 (id=3): size=607504, offset=802816, first_used=3 last_used=4
...
* (id=114): size=4096, offset=0, first_used=114 last_used=115
* (id=115): size=4000, offset=4096, first_used=115 last_used=115
 0: 00000000000000000000000000...................................................... (588k)
 1: 0000000000000000000000000011111111111111111111111111............................ (1176k)
 2: 2222222222222222222222222211111111111111111111111111............................ (1176k)
 3: 22222222222222222222222222........333333333333333333333333333................... (1182k)
...
"Event","Tag","Ticks"
0,SUB,0
1,MUL,0
2,PAD,0
3,CONV_2D,1
4,HARD_SWISH,0
5,PAD,0
...
110,MEAN,0
111,FULLY_CONNECTED,0
112,FULLY_CONNECTED,0
113,MUL,0
114,FULLY_CONNECTED,0
"Unique Tag","Total ticks across all events with that tag."
SUB, 0
MUL, 0
PAD, 0
CONV_2D, 3
...
"total number of ticks", 3
nxai done!

Signed-off-by: chao an <anchao@lixiang.com>
2024-11-29 18:34:10 +08:00
..
arm fix nxstyle 2024-11-28 20:40:13 +08:00
arm64 gcov: Add gcov gcc implementation and toolchain to ci compilation 2024-11-28 19:35:34 +08:00
avr boards/avr/atmega: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
dummy Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
hc/m9s12 boards/hc/m9s12: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
mips boards/mips/pic32mz: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
misoc/lm32/misoc boards/misoc/lm32: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
or1k/mor1kx/or1k boards/or1k/mor1kx: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
renesas boards/renesas/sh1: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
risc-v Path Error 2024-11-26 13:50:53 +08:00
sim/sim/sim sim/tflm: add tflite-micro demo into ci build 2024-11-29 18:34:10 +08:00
sparc boards/sparc/s698pm: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
tricore/tc3xx/tc397 boards/tricore/tc3xx: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
x86/qemu/qemu-i486 boards/x86/qemu: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
x86_64/intel64/qemu-intel64 boards/qemu-intel64: add kernel build (ROMFS) configurations 2024-11-27 13:32:23 -03:00
xtensa esp32s3-devkit/usbmsc: Initializing configuration for USBMSC 2024-11-27 13:30:44 -03:00
z16/z16f/z16f2800100zcog boards/z16/z16f: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
z80 boards/z80/z80: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 18:00:40 +01:00
Board.mk sh:Change expansion path logic 2024-03-04 01:18:45 +08:00
boardctl.c boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
CMakeLists.txt boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
dummy.c boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
Kconfig boards/esp32s3: Add depends ESP32-S3-WROOM-1-N8R8 for ESP32S3_DEVKIT 2024-11-26 14:06:31 +08:00
Makefile boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00