@@ -19,7 +19,7 @@ After code generation, you can prepare python environment by `uv sync` command.
1919uv sync
2020```
2121
22- ## Model parser
22+ ## TFLite Model parser
2323
2424### Purpose
2525
@@ -28,13 +28,13 @@ This tool print operators, tensors, and buffers information in tflite model file
2828### How to use
2929
3030```
31- uv run model -parser <model -file>
31+ uv run tflite -parser <tflite -file>
3232```
3333
3434### Example
3535
3636```
37- $ uv run model -parser /home/nnfw/convolution_test.tflite
37+ $ uv run tflite -parser /home/nnfw/convolution_test.tflite
3838
3939[Main model]
4040
@@ -66,7 +66,7 @@ This tool makes small model file from base model file (such as inception v3)
6666### How to use
6767
6868```
69- uv run select-operator <base model file> <opcode list txt file> <output file name>
69+ uv run tflite-selector <base model file> <opcode list txt file> <output file name>
7070```
7171
7272### Example
@@ -75,7 +75,7 @@ uv run select-operator <base model file> <opcode list txt file> <output file nam
7575$ cat /home/nnfw/opcodelist.txt
7676107 108 109 110 111 112 113 114 115 116 117 118 119 120
7777
78- $ uv run select-operator /home/nnfw/inceptionv3_non_slim_2015.tflite \
78+ $ uv run tflite-selector /home/nnfw/inceptionv3_non_slim_2015.tflite \
7979/home/nnfw/opcodelist.txt /home/nnfw/test.tflite
8080
8181Input tensor(s): [29]
@@ -103,7 +103,7 @@ If selected operators contain controlflow operator, the model to be generated wi
103103$ cat /home/nnfw/opcodelist.txt
10410411-13
105105
106- $ uv run select-operator multi_subgraph.tflite
106+ $ uv run tflite-selector multi_subgraph.tflite
107107opcodelist.txt test.tflite -g 1
108108```
109109
@@ -117,7 +117,7 @@ So run model generator with the option `--store-io-info`
117117#### How to use
118118
119119```
120- uv run select-operator <base model file> <opcode list txt file> <output file name> --store-io-info <output json file name>
120+ uv run tflite-selector <base model file> <opcode list txt file> <output file name> --store-io-info <output json file name>
121121```
122122
123123#### Example
@@ -131,12 +131,12 @@ $ cat 0-26.txt
131131$ cat 27-30.txt
13213227-30
133133
134- $ uv run select-operator mobilenet_v1_1.0_224.tflite 0-26.txt m1.tflite --store-io-info m1.json
134+ $ uv run tflite-selector mobilenet_v1_1.0_224.tflite 0-26.txt m1.tflite --store-io-info m1.json
135135Input tensor(s): [81]
136136Output tensor(s): [44]
137137Append subgraphs, orginal index : 0 , new index : 0
138138
139- $ uv run select-operator mobilenet_v1_1.0_224.tflite 27-30.txt m2.tflite --store-io-info m2.json
139+ $ uv run tflite-selector mobilenet_v1_1.0_224.tflite 27-30.txt m2.tflite --store-io-info m2.json
140140Input tensor(s): [6]
141141Output tensor(s): [7]
142142Append subgraphs, orginal index : 0 , new index : 0
0 commit comments