From 110c5aeafd8dee19ffe415e246eeaac0b1a47747 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ivan=20Vagin/AI=20Tools=20Lab=20/SRR/Engineer/=EC=82=BC?= =?utf8?q?=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 29 Jan 2019 18:07:48 +0300 Subject: [PATCH] [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 --- contrib/nnc/passes/acl_soft_backend/AclCppOpGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.7.4