aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/Tensor.h
diff options
context:
space:
mode:
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