telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame^] | 1 | // |
2 | // Copyright © 2017 Arm Ltd. All rights reserved. | ||||
3 | // See LICENSE file in the project root for full license information. | ||||
4 | // | ||||
5 | #pragma once | ||||
6 | |||||
7 | namespace armnn | ||||
8 | { | ||||
9 | |||||
10 | class ITensorHandle | ||||
11 | { | ||||
12 | public: | ||||
13 | enum Type | ||||
14 | { | ||||
15 | Cpu, | ||||
16 | CL, | ||||
17 | Neon | ||||
18 | }; | ||||
19 | |||||
20 | virtual ~ITensorHandle(){} | ||||
21 | virtual void Allocate() = 0; | ||||
22 | virtual ITensorHandle::Type GetType() const = 0; | ||||
23 | }; | ||||
24 | |||||
25 | } |