aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/ITensorObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/graph/ITensorObject.h')
-rw-r--r--arm_compute/graph/ITensorObject.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arm_compute/graph/ITensorObject.h b/arm_compute/graph/ITensorObject.h
index 61be2865c7..a922dd53fe 100644
--- a/arm_compute/graph/ITensorObject.h
+++ b/arm_compute/graph/ITensorObject.h
@@ -61,7 +61,8 @@ public:
*
* @return Tensor
*/
- virtual ITensor *tensor() = 0;
+ virtual ITensor *tensor() = 0;
+ virtual const ITensor *tensor() const = 0;
/** Return the target that this tensor is pinned on
*
* @return Target of the tensor