From d3a78ab634d3047bcb1615512b1b290dbfbca5f4 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Mon, 18 Jun 2018 15:35:09 +0100 Subject: COMPMID-1283: (GitHub issue) after convolution output data is zero During the mutating passes accessors of optimized nodes were dropped instead of being transfered to appropriate tensors. Change-Id: I29183984d94806bdfb5c92af3acefd928c0fd171 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/136036 Reviewed-by: Anthony Barbier Tested-by: Jenkins --- src/graph/Tensor.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/graph/Tensor.cpp') diff --git a/src/graph/Tensor.cpp b/src/graph/Tensor.cpp index 287e783c26..ef253feb2c 100644 --- a/src/graph/Tensor.cpp +++ b/src/graph/Tensor.cpp @@ -67,6 +67,11 @@ ITensorAccessor *Tensor::accessor() return _accessor.get(); } +std::unique_ptr Tensor::extract_accessor() +{ + return std::move(_accessor); +} + bool Tensor::call_accessor() { // Early exit guard -- cgit v1.2.1