[nnc] Add `shape` parameter to constructors of operations that cannot infer shapes...
authorСергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 <s.barannikov@samsung.com>
Wed, 21 Nov 2018 16:23:36 +0000 (19:23 +0300)
committerРоман Михайлович Русяев/AI Tools Lab /SRR/Staff Engineer/삼성전자 <r.rusyaev@samsung.com>
Wed, 21 Nov 2018 16:23:36 +0000 (19:23 +0300)
commit6ce2fe8f34e8f37f0522f865d9fa1a9f70a14afe
tree08ef43fb31b233830c6f08d84938b678c3e36d73
parentcd6367d4a4bc24ae4bf439b7085f0036c63db38b
[nnc] Add `shape` parameter to constructors of operations that cannot infer shapes of their outputs (#2338)

* Add `shape` parameter to constructor of `VariableOp`;
* Add `shape` parameter to constructor of `ReshapeOp`.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
19 files changed:
contrib/nnc/core/modelIR/Graph.cpp
contrib/nnc/include/core/modelIR/operations/ReshapeOp.h
contrib/nnc/include/core/modelIR/operations/VariableOp.h
contrib/nnc/include/passes/common_frontend/shape_helper.h
contrib/nnc/passes/caffe_frontend/caffe_op_creator.cpp
contrib/nnc/passes/common_frontend/shape_helper.cpp
contrib/nnc/passes/onnx_frontend/ONNXImporterImpl.cpp
contrib/nnc/passes/onnx_frontend/ONNXOpCreator.cpp
contrib/nnc/passes/tflite_frontend/tflite_importer.cpp
contrib/nnc/passes/tflite_frontend/tflite_op_creator.cpp
contrib/nnc/tests/interpreter/graph_creator.cpp
contrib/nnc/tests/soft_backend/CompileCPP.cpp
contrib/nnc/unittests/core/Graph.cpp
contrib/nnc/unittests/core/NodeReplacer.cpp
contrib/nnc/unittests/core/ShapeInference.cpp
contrib/nnc/unittests/core/operation.cpp
contrib/nnc/unittests/soft_backend/CPPOperations.cpp
contrib/nnc/unittests/soft_backend/Generator.cpp
contrib/nnc/unittests/soft_backend/ModelAnalyzer.cpp