Skip to content

Commit 5fd2b96

Browse files
authored
[tool] Fix README.md for tflitefile tool (#16473)
This commit updates README.md to reflect renamed tool commands for consistency: - model-parser -> tflite-parser - select-operator -> tflite-selector ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
1 parent 2e74ecf commit 5fd2b96

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

tools/tflitefile_tool/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ After code generation, you can prepare python environment by `uv sync` command.
1919
uv 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
7676
107 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
8181
Input 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
104104
11-13
105105
106-
$ uv run select-operator multi_subgraph.tflite
106+
$ uv run tflite-selector multi_subgraph.tflite
107107
opcodelist.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
132132
27-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
135135
Input tensor(s): [81]
136136
Output tensor(s): [44]
137137
Append 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
140140
Input tensor(s): [6]
141141
Output tensor(s): [7]
142142
Append subgraphs, orginal index : 0 , new index : 0

0 commit comments

Comments
 (0)