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 --- arm_compute/graph/Tensor.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arm_compute/graph/Tensor.h') diff --git a/arm_compute/graph/Tensor.h b/arm_compute/graph/Tensor.h index 5199ac2328..54fb2583e7 100644 --- a/arm_compute/graph/Tensor.h +++ b/arm_compute/graph/Tensor.h @@ -82,6 +82,13 @@ public: * @return Backend tensor accessor */ ITensorAccessor *accessor(); + /** Extracts accessor from the tensor + * + * @warning Accessor gets unbound from the tensor + * + * @return The accessor of the tensor + */ + std::unique_ptr extract_accessor(); /** Calls accessor on tensor * * @return True if the accessor was called else false -- cgit v1.2.1