aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/Tensor.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-06-18 15:35:09 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:53:20 +0000
commitd3a78ab634d3047bcb1615512b1b290dbfbca5f4 (patch)
treeae3453a1eee2a58e24cde9db1f1b0b8827e0e9e8 /arm_compute/graph/Tensor.h
parentbe39f1281ee4ad4e83b92ad5a09f6bdc40b5718f (diff)
downloadComputeLibrary-d3a78ab634d3047bcb1615512b1b290dbfbca5f4.tar.gz
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 <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph/Tensor.h')
-rw-r--r--arm_compute/graph/Tensor.h7
1 files changed, 7 insertions, 0 deletions
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<ITensorAccessor> extract_accessor();
/** Calls accessor on tensor
*
* @return True if the accessor was called else false