From: Ivan Vagin/AI Tools Lab /SRR/Engineer/삼성전자 Date: Tue, 29 Jan 2019 15:07:48 +0000 (+0300) Subject: [nnc] Fixed weights tensor shape in ACL backend (#2958) X-Git-Tag: nncc_backup~906 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=110c5aeafd8dee19ffe415e246eeaac0b1a47747;p=platform%2Fcore%2Fml%2Fnnfw.git [nnc] Fixed weights tensor shape in ACL backend (#2958) Fixed name of weights tensor shape variable in ACL backend to fix build Signed-off-by: Ivan Vagin --- diff --git a/contrib/nnc/passes/acl_soft_backend/AclCppOpGenerator.cpp b/contrib/nnc/passes/acl_soft_backend/AclCppOpGenerator.cpp index 12501cd..7f5ec8c 100644 --- a/contrib/nnc/passes/acl_soft_backend/AclCppOpGenerator.cpp +++ b/contrib/nnc/passes/acl_soft_backend/AclCppOpGenerator.cpp @@ -338,7 +338,7 @@ void AclCppOpGenerator::visit(ops::FullyConnectedOp& op) { throw AclCppException("Unsupported operation type"); const TensorVariant ir_weights_tensor = transposeTensor<1, 0>(ir_weights_op->getValue()); - const Shape& ir_weights_shape = ir_weights.getShape(); + const Shape& ir_weights_shape = ir_weights_tensor.getShape(); // Get the input node tensor id in the DOM. auto in = AF::id(tensorName(ir_input));