commit | ed194b1fbec6627896c5c12f74460b9142b98f7d | [log] [tgz] |
---|---|---|
author | Michalis Spyrou <michalis.spyrou@arm.com> | Tue Oct 31 15:04:34 2017 +0000 |
committer | Anthony Barbier <anthony.barbier@arm.com> | Fri Nov 02 16:35:24 2018 +0000 |
tree | 697885db357cedde0b8c4db96257f62238e2c1ec | |
parent | 6f31f8c50a3d409b1ec587efba406454b53e9452 [diff] [blame] |
COMPMID-556 Add macro for checking graph's tensor object Change-Id: I1de1c2932c9906b23b49e18bd82c173846d98723 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/93860 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
diff --git a/arm_compute/graph/ITensorObject.h b/arm_compute/graph/ITensorObject.h index 61be286..a922dd5 100644 --- a/arm_compute/graph/ITensorObject.h +++ b/arm_compute/graph/ITensorObject.h
@@ -61,7 +61,8 @@ * * @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