diff options
Diffstat (limited to 'src/backends/aclCommon/ArmComputeTensorHandle.hpp')
-rw-r--r-- | src/backends/aclCommon/ArmComputeTensorHandle.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/backends/aclCommon/ArmComputeTensorHandle.hpp b/src/backends/aclCommon/ArmComputeTensorHandle.hpp new file mode 100644 index 0000000000..30710baf1c --- /dev/null +++ b/src/backends/aclCommon/ArmComputeTensorHandle.hpp @@ -0,0 +1,23 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +#include <arm_compute/runtime/IMemoryGroup.h> +#include <arm_compute/runtime/Tensor.h> + +namespace armnn +{ + +class IAclTensorHandle : public ITensorHandle +{ +public: + virtual arm_compute::ITensor& GetTensor() = 0; + virtual arm_compute::ITensor const& GetTensor() const = 0; + virtual arm_compute::DataType GetDataType() const = 0; + virtual void SetMemoryGroup(const std::shared_ptr<arm_compute::IMemoryGroup>& memoryGroup) = 0; +}; + +} //namespace armnn
\ No newline at end of file |