Support new caffe operations in soft backend (#1476)
authorEfimov Alexander/AI Tools Lab/./Samsung Electronics <a.efimov@samsung.com>
Thu, 13 Sep 2018 17:49:03 +0000 (20:49 +0300)
committerРоман Михайлович Русяев/AI Tools Lab /SRR/Staff Engineer/삼성전자 <r.rusyaev@samsung.com>
Thu, 13 Sep 2018 17:49:03 +0000 (20:49 +0300)
commitcd02e70ac08bf57cdeb00dab87206c33f4f4f775
treee1315b846e97487361adcbd23754ea3ef17d09ed
parentf018ad7eac3f9b13639bc628771ce1c9308b4e55
Support new caffe operations in soft backend (#1476)

Support new operations:
+ Scale (works on channel axis only)
+ Dropout (passes tensor without changes)
+ BatchNorm (passes tensor without changes)

Signed-off-by: Efimov Alexander <a.efimov@samsung.com>
contrib/nnc/passes/soft_backend/code_snippets/cpp_batchnorm.def [new file with mode: 0644]
contrib/nnc/passes/soft_backend/code_snippets/cpp_dropout.def [new file with mode: 0644]
contrib/nnc/passes/soft_backend/code_snippets/cpp_scale.def [new file with mode: 0644]
contrib/nnc/passes/soft_backend/cpp_generator.cpp
contrib/nnc/passes/soft_backend/serializer.cpp
contrib/nnc/unittests/soft_backend/cpp_operations.cpp