[nnc] Make convolution operations treat the second tensor as ordinary argument (...
authorСергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 <s.barannikov@samsung.com>
Thu, 17 Jan 2019 08:36:29 +0000 (11:36 +0300)
committerEfimov Alexander/AI Tools Lab/./Samsung Electronics <a.efimov@samsung.com>
Thu, 17 Jan 2019 08:36:29 +0000 (11:36 +0300)
commite1bf2aa982c87b1a443b1742a592890c44b459f2
tree96e090551c12a608253c6dc33a655bbb53bfa4a5
parentddeabab0ce9dfd6d8c86931c5c42f2e95d761f35
[nnc] Make convolution operations treat the second tensor as ordinary argument (#2869)

* Change the signatures of Conv2DOp, DepthwiseConv2DOp and DeConv2DOp to identically handle both input parameters.
* Refactor uses of Conv2DOp, DepthwiseConv2DOp and DeConv2DOp.
* Rename corresponding files in interpreter backend according to coding style.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
34 files changed:
contrib/nnc/core/modelIR/IrDotDumper.cpp
contrib/nnc/core/modelIR/ir_dot_node_info.cpp
contrib/nnc/core/modelIR/operations/Conv2DOp.cpp
contrib/nnc/core/modelIR/operations/DeConv2DOp.cpp
contrib/nnc/core/modelIR/operations/DepthwiseConv2DOp.cpp
contrib/nnc/include/core/modelIR/ir_dot_node_info.h
contrib/nnc/include/core/modelIR/operations/Conv2DOp.h
contrib/nnc/include/core/modelIR/operations/Deconv2DOp.h
contrib/nnc/include/core/modelIR/operations/DepthwiseConv2DOp.h
contrib/nnc/passes/acl_soft_backend/AclCppOpGenerator.cpp
contrib/nnc/passes/caffe2_frontend/caffe2_op_creator.cpp
contrib/nnc/passes/caffe_frontend/caffe_op_creator.cpp
contrib/nnc/passes/interpreter/Interpreter.cpp
contrib/nnc/passes/interpreter/ops/Conv2D.cpp [moved from contrib/nnc/passes/interpreter/ops/conv_2D.cpp with 92% similarity]
contrib/nnc/passes/interpreter/ops/Conv2D.h [moved from contrib/nnc/passes/interpreter/ops/conv_2D.h with 81% similarity]
contrib/nnc/passes/interpreter/ops/DeConv2D.cpp
contrib/nnc/passes/interpreter/ops/DeConv2D.h
contrib/nnc/passes/interpreter/ops/DepthwiseConv2D.cpp [moved from contrib/nnc/passes/interpreter/ops/Depthwise_conv_2D.cpp with 86% similarity]
contrib/nnc/passes/interpreter/ops/DepthwiseConv2D.h [moved from contrib/nnc/passes/interpreter/ops/Depthwise_conv_2D.h with 72% similarity]
contrib/nnc/passes/interpreter/ops/conv_FFT.cpp
contrib/nnc/passes/interpreter/ops/conv_FFT.h
contrib/nnc/passes/onnx_frontend/ONNXImporterImpl.cpp
contrib/nnc/passes/onnx_frontend/ONNXOpCreator.cpp
contrib/nnc/passes/soft_backend/ModelAnalyzer.cpp
contrib/nnc/passes/soft_backend/SBSerializer.cpp
contrib/nnc/passes/soft_backend/code_snippets/cpp_operations.def
contrib/nnc/passes/tflite_frontend/tflite_op_creator.cpp
contrib/nnc/tests/interpreter/gen/gen_test_data.py
contrib/nnc/tests/interpreter/graph_creator.cpp
contrib/nnc/tests/interpreter/op_info_util.cpp
contrib/nnc/tests/interpreter/op_info_util.h
contrib/nnc/tests/interpreter/test_data/test_description.txt
contrib/nnc/unittests/acl_backend/MIRToDOM.cpp
contrib/nnc/unittests/soft_backend/CPPOperations.cpp