ArmNN
 21.02
TensorCopyUtils.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
7 #include <armnn/Tensor.hpp>
8 
10 
11 void CopyDataToITensorHandle(armnn::ITensorHandle* tensorHandle, const void* memory);
12 
13 void CopyDataFromITensorHandle(void* mem, const armnn::ITensorHandle* tensorHandle);
14 
15 void AllocateAndCopyDataToITensorHandle(armnn::ITensorHandle* tensorHandle, const void* memory);
void AllocateAndCopyDataToITensorHandle(armnn::ITensorHandle *tensorHandle, const void *memory)
void CopyDataToITensorHandle(armnn::ITensorHandle *tensorHandle, const void *memory)
void CopyDataFromITensorHandle(void *mem, const armnn::ITensorHandle *tensorHandle)