Imported Upstream version 1.7.0
[platform/core/ml/nnfw.git] / compiler / record-minmax / README.md
1 # record-minmax
2
3 _record-minmax_ is a tool to embed min/max values of activations to the circle model for post-training quantization.
4
5 ## Usage
6
7 This will run with the path to the input model (.circle), a pack of input data (.h5), and the output model (.circle).
8
9 ```
10 $ ./record-minmax <path_to_input_model> <path_to_input_data> <path_to_output_model>
11 ```
12
13 For example,
14 ```
15 $ ./record-minmax input.circle input.h5 out.circle
16 ```
17
18 Output is a circle model where min/max values of activation tensors are saved in QuantizationParameters.