Extract model information ref/for/tizen_devel
authorHyunsoo Park <hance.park@samsung.com>
Tue, 25 May 2021 11:21:06 +0000 (20:21 +0900)
committerHyunsoo Park <hance.park@samsung.com>
Fri, 28 May 2021 06:52:26 +0000 (15:52 +0900)
commitc82182e83ec0bc3f9d3acb5cd84fd9f43ccb18b5
tree1c1ae84c0b611be304927023f34cc3461b62614d
parent7a645d15ae38d7c31a241efead4453e000d4b324
Extract model information

Usage: inference_engine_cltuner [OPTION...] MODE MODELPATH
 e.g) inference_engine_cltuner 1 /usr/share/capi-media-vision/models/IC/tflite/ic_tflite_model.tflite

 - Json file should be in the same location as the model file.
 - Loop progress is removed. (Changed to one-time-execution)

Json file example
[
    {
        "image_paths" : "/opt/usr/images/image_classification.bin",
        "tensor_width" : 224,
        "tensor_height" : 224,
        "tensor_channels" : 3,
        "tensor_type" : 2,
        "tensor_shape" : 0,
        "input_layers" : [ "input_2" ],
        "output_layers" : [ "dense_3/Softmax" ],
        "model_paths" : "/usr/share/capi-media-vision/models/IC/tflite/ic_tflite_model.tflite"
    }
]

Change-Id: Icd33dda311acc1684e8eea4a96a30fc295ff9737
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
packaging/inference-engine-interface.spec
tools/CMakeLists.txt
tools/inference_engine_cltuner.cpp