From: 장지섭/On-Device Lab(SR)/Engineer/삼성전자 Date: Mon, 29 Jul 2019 11:30:43 +0000 (+0900) Subject: Fix unmatched result of tconv in NCHW (#5968) X-Git-Tag: submit/tizen/20190809.050447~353 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f7cf304538f52bd6fed52bbde21ea3ef7011706;p=platform%2Fcore%2Fml%2Fnnfw.git Fix unmatched result of tconv in NCHW (#5968) This commit fixes unmatched result of tconv in NCHW - Change weights of tconv to OIHW in case of NCHW Signed-off-by: jiseob.jang --- diff --git a/runtimes/neurun/backend/acl_cl/ConstantInitializer.cc b/runtimes/neurun/backend/acl_cl/ConstantInitializer.cc index 926ec09..0a8f536 100644 --- a/runtimes/neurun/backend/acl_cl/ConstantInitializer.cc +++ b/runtimes/neurun/backend/acl_cl/ConstantInitializer.cc @@ -206,7 +206,7 @@ void ConstantInitializer::visit(const model::operation::TransposeConvNode &node) { const auto &kernel_index = node.getInputs().at(model::operation::TransposeConvNode::KERNEL); const auto &kernel_obj = _operands.at(kernel_index); - registerCopyInitializer(kernel_index, kernel_obj); + registerPermuteInitializer(kernel_index, kernel_obj); } } // namespace acl_cl