[nnc][utils][model_generator] Add operation tree. (#2133)
authorИван Иванович Кулагин/AI Tools Lab /SRR/Engineer/삼성전자 <i.kulagin@samsung.com>
Mon, 12 Nov 2018 09:17:50 +0000 (12:17 +0300)
committerРоман Михайлович Русяев/AI Tools Lab /SRR/Staff Engineer/삼성전자 <r.rusyaev@samsung.com>
Mon, 12 Nov 2018 09:17:50 +0000 (12:17 +0300)
commit4983322cdae89061e52589c571a7fa295c247a60
treee6aeaa47a2d0c57336ab108b7399314a8f30088c
parent6529b17dbf5c12cccdd1874ec79ee3072f97e42a
[nnc][utils][model_generator] Add operation tree. (#2133)

The changes add the tree of operations and builder for it.
The tree represents random model without relation
to specific format (TFLite or caffe).

The changes are needed for building random links
between operations with consistency tensor's shapes.
The tree then will be converted to specific format
(in future pull request).

Currently contains only one operation (other in future PR)

Signed-off-by: i-kulagin i.kulagin@samsung.com
contrib/nnc/utils/tflite_model_generator/CMakeLists.txt
contrib/nnc/utils/tflite_model_generator/ModelGenerator.cpp
contrib/nnc/utils/tflite_model_generator/RandomModelBuilder.h
contrib/nnc/utils/tflite_model_generator/TFLiteRandomModelBuilder.cpp
contrib/nnc/utils/tflite_model_generator/TFLiteRandomModelBuilder.h
contrib/nnc/utils/tflite_model_generator/Tree.cpp [new file with mode: 0644]
contrib/nnc/utils/tflite_model_generator/Tree.h [new file with mode: 0644]