From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_tensor_copy_utils_8cpp_source.xhtml | 122 +++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 21.02/_tensor_copy_utils_8cpp_source.xhtml (limited to '21.02/_tensor_copy_utils_8cpp_source.xhtml') diff --git a/21.02/_tensor_copy_utils_8cpp_source.xhtml b/21.02/_tensor_copy_utils_8cpp_source.xhtml new file mode 100644 index 0000000000..6ca53b6d4d --- /dev/null +++ b/21.02/_tensor_copy_utils_8cpp_source.xhtml @@ -0,0 +1,122 @@ + + + + + + + + + + + + + +ArmNN: src/backends/backendsCommon/test/TensorCopyUtils.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TensorCopyUtils.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #include "TensorCopyUtils.hpp"
7 #include <Half.hpp>
8 
9 void CopyDataToITensorHandle(armnn::ITensorHandle* tensorHandle, const void* memory)
10 {
11  tensorHandle->CopyInFrom(memory);
12 }
13 
14 void CopyDataFromITensorHandle(void* memory, const armnn::ITensorHandle* tensorHandle)
15 {
16  tensorHandle->CopyOutTo(memory);
17 }
18 
19 void AllocateAndCopyDataToITensorHandle(armnn::ITensorHandle* tensorHandle, const void* memory)
20 {
21  tensorHandle->Allocate();
22  CopyDataToITensorHandle(tensorHandle, memory);
23 }
+
virtual void Allocate()=0
Indicate to the memory manager that this resource is no longer active.
+ +
void AllocateAndCopyDataToITensorHandle(armnn::ITensorHandle *tensorHandle, const void *memory)
+
void CopyDataFromITensorHandle(void *memory, const armnn::ITensorHandle *tensorHandle)
+
virtual void CopyOutTo(void *memory) const =0
Testing support to be able to verify and set tensor data content.
+ +
virtual void CopyInFrom(const void *memory)=0
+
void CopyDataToITensorHandle(armnn::ITensorHandle *tensorHandle, const void *memory)
+
+
+ + + + -- cgit v1.2.1