From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_tensor_copy_utils_8hpp.xhtml | 236 ++++++++++++++++++++++++++++++++++++ 1 file changed, 236 insertions(+) create mode 100644 20.02/_tensor_copy_utils_8hpp.xhtml (limited to '20.02/_tensor_copy_utils_8hpp.xhtml') diff --git a/20.02/_tensor_copy_utils_8hpp.xhtml b/20.02/_tensor_copy_utils_8hpp.xhtml new file mode 100644 index 0000000000..61943a7655 --- /dev/null +++ b/20.02/_tensor_copy_utils_8hpp.xhtml @@ -0,0 +1,236 @@ + + + + + + + + + + + + + +ArmNN: src/backends/backendsCommon/test/TensorCopyUtils.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TensorCopyUtils.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Functions

void CopyDataToITensorHandle (armnn::ITensorHandle *tensorHandle, const void *memory)
 
void CopyDataFromITensorHandle (void *mem, const armnn::ITensorHandle *tensorHandle)
 
void AllocateAndCopyDataToITensorHandle (armnn::ITensorHandle *tensorHandle, const void *memory)
 
+

Function Documentation

+ +

◆ AllocateAndCopyDataToITensorHandle()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void AllocateAndCopyDataToITensorHandle (armnn::ITensorHandletensorHandle,
const void * memory 
)
+
+
+ +

◆ CopyDataFromITensorHandle()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void CopyDataFromITensorHandle (void * mem,
const armnn::ITensorHandletensorHandle 
)
+
+ +

Definition at line 14 of file TensorCopyUtils.cpp.

+ +

References ITensorHandle::CopyOutTo().

+ +

Referenced by AdditionAfterMaxPoolTest(), AdditionBroadcast1ElementTestImpl(), AdditionBroadcastTestImpl(), BoundedReLuTestCommon(), BoundedReLuUint8UpperAndLowerBoundTest(), CompareActivationTestImpl(), CompareAdditionTest(), CompareBatchNormTest(), CompareConvolution2dTestImpl(), CompareDepthwiseConvolution2dTestImpl(), CompareMultiplicationTest(), ConcatDifferentInputOutputQParamTest(), Concatenate(), ConcatTest(), ConcatUint16Test(), ConcatUint8DifferentQParamsTest(), ConcatUint8Test(), ConstantLinearActivationTestCommon(), Convolution1dTestImpl(), Convolution2dPerAxisQuantTest(), DepthwiseConvolution2dAsymmetricTestImpl(), DepthwiseConvolution2dDepthMul1TestImpl(), DepthwiseConvolution2dPerAxisQuantTest(), DepthwiseConvolution2dTestImpl(), DetectionPostProcessImpl(), ElementwiseTestHelper(), ElementwiseUnaryTestHelper(), FakeQuantizationTest(), L2Normalization2dShapeTest(), Pad2dTestCommon(), Pad3dTestCommon(), Pad4dTestCommon(), PermuteOutputForConcat(), PermuteTensorData(), PreluTest(), SimpleActivationTest(), SimpleConvertFp16ToFp32Test(), SimpleConvertFp32ToFp16Test(), SimpleConvolution2dNhwcTestImpl(), SimpleConvolution2dTestImpl(), SimpleFloorTest(), SimpleFullyConnectedTestImpl(), SimplePermuteTestImpl(), SimpleTransposeTestImpl(), SqrtNNTest(), and TransposeConvolution2dPerAxisQuantTest().

+
15 {
16  tensorHandle->CopyOutTo(memory);
17 }
virtual void CopyOutTo(void *memory) const =0
Testing support to be able to verify and set tensor data content.
+
+
+
+ +

◆ CopyDataToITensorHandle()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void CopyDataToITensorHandle (armnn::ITensorHandletensorHandle,
const void * memory 
)
+
+ +

Definition at line 9 of file TensorCopyUtils.cpp.

+ +

References ITensorHandle::CopyInFrom().

+ +

Referenced by AdditionAfterMaxPoolTest(), AdditionBroadcast1ElementTestImpl(), AdditionBroadcastTestImpl(), AllocateAndCopyDataToITensorHandle(), BOOST_AUTO_TEST_CASE(), BoundedReLuTestCommon(), BoundedReLuUint8UpperAndLowerBoundTest(), CompareActivationTestImpl(), CompareAdditionTest(), CompareBatchNormTest(), CompareConvolution2dTestImpl(), CompareDepthwiseConvolution2dTestImpl(), CompareMultiplicationTest(), ConcatDifferentInputOutputQParamTest(), Concatenate(), ConcatTest(), ConcatUint16Test(), ConcatUint8DifferentQParamsTest(), ConcatUint8Test(), ConstantLinearActivationTestCommon(), Convolution1dTestImpl(), Convolution2dPerAxisQuantTest(), DepthwiseConvolution2dAsymmetricTestImpl(), DepthwiseConvolution2dDepthMul1TestImpl(), DepthwiseConvolution2dPerAxisQuantTest(), DepthwiseConvolution2dTestImpl(), DetectionPostProcessImpl(), ElementwiseTestHelper(), ElementwiseUnaryTestHelper(), FakeQuantizationTest(), L2Normalization2dShapeTest(), Pad2dTestCommon(), Pad3dTestCommon(), Pad4dTestCommon(), PermuteTensorData(), PreluTest(), SimpleActivationTest(), SimpleConvertFp16ToFp32Test(), SimpleConvertFp32ToFp16Test(), SimpleConvolution2dNhwcTestImpl(), SimpleConvolution2dTestImpl(), SimpleFloorTest(), SimpleFullyConnectedTestImpl(), SimplePermuteTestImpl(), SimpleTransposeTestImpl(), SqrtNNTest(), and TransposeConvolution2dPerAxisQuantTest().

+
10 {
11  tensorHandle->CopyInFrom(memory);
12 }
virtual void CopyInFrom(const void *memory)=0
+
+
+
+
+
+ + + + -- cgit v1.2.1