Derek Lamberti | c81855f | 2019-06-13 17:34:19 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
Matteo Martincigh | e5b8eb9 | 2019-11-28 15:45:42 +0000 | [diff] [blame] | 8 | #include <armnn/backends/ITensorHandle.hpp> |
| 9 | |
Derek Lamberti | c81855f | 2019-06-13 17:34:19 +0100 | [diff] [blame] | 10 | #include <arm_compute/runtime/IMemoryGroup.h> |
| 11 | #include <arm_compute/runtime/Tensor.h> |
| 12 | |
| 13 | namespace armnn |
| 14 | { |
| 15 | |
| 16 | class IAclTensorHandle : public ITensorHandle |
| 17 | { |
| 18 | public: |
| 19 | virtual arm_compute::ITensor& GetTensor() = 0; |
| 20 | virtual arm_compute::ITensor const& GetTensor() const = 0; |
| 21 | virtual arm_compute::DataType GetDataType() const = 0; |
| 22 | virtual void SetMemoryGroup(const std::shared_ptr<arm_compute::IMemoryGroup>& memoryGroup) = 0; |
| 23 | }; |
| 24 | |
| 25 | } //namespace armnn |