21.08
|
#include "LayerTestResult.hpp"
#include <armnn/backends/IBackendInternal.hpp>
#include <backendsCommon/WorkloadFactory.hpp>
Go to the source code of this file.
LayerTestResult<int16_t, 4> AbsInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 832 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> AbsTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 816 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> AbsUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 824 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> BoundedReLuInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 644 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> BoundedReLuUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
float | upperBound | ||
) |
LayerTestResult<uint8_t, 4> BoundedReLuUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
float | upperBound, | ||
float | lowerBound | ||
) |
LayerTestResult<uint8_t, 4> BoundedReLuUint8UpperAndLowerBoundTest | ( | armnn::IWorkloadFactory & | workloadFactor, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManagery, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 187 of file ActivationTestImpl.cpp.
References CopyDataFromITensorHandle(), CopyDataToITensorHandle(), IWorkloadFactory::CreateActivation(), ITensorHandleFactory::CreateTensorHandle(), armnn::Float32, TensorInfo::GetNumElements(), armnn::IgnoreUnused(), and QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> BoundedReLuUint8UpperBoundOnlyTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
LayerTestResult<float, 4> BoundedReLuUpperAndLowerBoundTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 91 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> BoundedReLuUpperBoundOnlyTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 123 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> CompareActivationInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
armnn::IWorkloadFactory & | refWorkloadFactory, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
const armnn::ITensorHandleFactory & | refTensorHandleFactory, | ||
armnn::ActivationFunction | f | ||
) |
Definition at line 1334 of file ActivationTestImpl.cpp.
LayerTestResult<float, 4> CompareActivationTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
armnn::IWorkloadFactory & | refWorkloadFactory, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
const armnn::ITensorHandleFactory & | refTensorHandleFactory, | ||
armnn::ActivationFunction | f, | ||
unsigned int | batchSize | ||
) |
Definition at line 1307 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> CompareActivationUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
armnn::IWorkloadFactory & | refWorkloadFactory, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
const armnn::ITensorHandleFactory & | refTensorHandleFactory, | ||
armnn::ActivationFunction | f | ||
) |
Definition at line 1321 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> CompareBoundedReLuTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
armnn::IWorkloadFactory & | refWorkloadFactory, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
const armnn::ITensorHandleFactory & | refTensorHandleFactory, | ||
float | upperBound, | ||
float | lowerBound | ||
) |
Definition at line 288 of file ActivationTestImpl.cpp.
References armnn::BoundedReLu, ActivationDescriptor::m_A, LayerTestResult< T, n >::m_ActualData, ActivationDescriptor::m_B, LayerTestResult< T, n >::m_ExpectedData, and ActivationDescriptor::m_Function.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> ConstantLinearActivationInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 395 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> ConstantLinearActivationTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 376 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> ConstantLinearActivationUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 386 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> EluInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 1137 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> EluTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 1121 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> EluUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 1129 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> HardSwishInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 1206 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> HardSwishTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 1189 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> HardSwishUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 1197 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> LeakyReLuInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 771 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> LeakyReLuTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 754 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> LeakyReLuUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 762 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> ReLuInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 580 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> ReLuTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 597 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> ReLuUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 589 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> SimpleSigmoidInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 534 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> SimpleSigmoidTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 516 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> SimpleSigmoidUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 525 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> SoftReLuInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 708 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> SoftReLuTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 691 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> SoftReLuUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 699 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> SqrtInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 948 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 5> SqrtNNTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 840 of file ActivationTestImpl.cpp.
References CopyDataFromITensorHandle(), CopyDataToITensorHandle(), IWorkloadFactory::CreateActivation(), ITensorHandleFactory::CreateTensorHandle(), armnn::Float32, armnn::IgnoreUnused(), ActivationDescriptor::m_Function, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, and armnn::Sqrt.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> SqrtTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 932 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> SqrtUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 940 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> SquareInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 1010 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> SquareTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 993 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> SquareUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 1001 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<int16_t, 4> TanhInt16Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 1073 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<float, 4> TanhTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 1057 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().
LayerTestResult<uint8_t, 4> TanhUint8Test | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 1065 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().