[nnc] Remove conversions of strides vector to Shape (#7237)
authorСергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 <s.barannikov@samsung.com>
Thu, 5 Sep 2019 13:58:48 +0000 (16:58 +0300)
committerAlexander Efimov/AI Tools Lab/./Samsung Electronics <a.efimov@samsung.com>
Thu, 5 Sep 2019 13:58:48 +0000 (16:58 +0300)
commit81a29cc7cc02d625486ce5c1efb4582d08135041
tree70ef3ff79a6b6beab526fedeca4282a4bbee1fca
parenta8990d3dc17c7660b9d5b536009dcf76deabc2c6
[nnc] Remove conversions of strides vector to Shape (#7237)

Remove implicit conversions of strides to `Shape`.
Add helper functions to work with strides.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
compiler/nnc/passes/interpreter/ops/AvgPool2D.cpp
compiler/nnc/passes/interpreter/ops/Conv2D.cpp
compiler/nnc/passes/interpreter/ops/DeConv2D.cpp
compiler/nnc/passes/interpreter/ops/DepthwiseConv2D.cpp
compiler/nnc/passes/interpreter/ops/MaxPool2D.cpp
compiler/nnc/passes/soft_backend/SBSerializer.cpp
compiler/nnc/passes/soft_backend/SBSerializer.h
compiler/nnc/passes/soft_backend/code_snippets/cpp_operations.def