blob: 36f6369c0fcab0796cfb67f2518ccb8e0f581935 [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
5#pragma once
6
David Beckac42efd2018-09-26 17:41:13 +01007#include <armnn/Tensor.hpp>
Aron Virginas-Tarc9cc8042018-11-01 16:15:57 +00008
9#include <backendsCommon/ITensorHandle.hpp>
telsoa014fcda012018-03-09 14:13:49 +000010
David Beck09e2f272018-10-30 11:38:41 +000011void CopyDataToITensorHandle(armnn::ITensorHandle* tensorHandle, const void* memory);
telsoa014fcda012018-03-09 14:13:49 +000012
13void CopyDataFromITensorHandle(void* mem, const armnn::ITensorHandle* tensorHandle);
14
David Beck09e2f272018-10-30 11:38:41 +000015void AllocateAndCopyDataToITensorHandle(armnn::ITensorHandle* tensorHandle, const void* memory);