22.05
|
#include <armnnTestUtils/LayerTestResult.hpp>
#include <armnn/backends/IBackendInternal.hpp>
#include <armnn/backends/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 836 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 820 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 828 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 648 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 188 of file ActivationTestImpl.cpp.
References armnn::Activation, CopyDataFromITensorHandle(), CopyDataToITensorHandle(), ITensorHandleFactory::CreateTensorHandle(), IWorkloadFactory::CreateWorkload(), 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 92 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 124 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 1341 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 1314 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 1328 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 290 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 398 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 379 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 389 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 1142 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 1126 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 1134 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 1211 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 1194 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 1202 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 775 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 758 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 766 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 584 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 601 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 593 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 538 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 520 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 529 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 712 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 695 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 703 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 953 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 844 of file ActivationTestImpl.cpp.
References armnn::Activation, CopyDataFromITensorHandle(), CopyDataToITensorHandle(), ITensorHandleFactory::CreateTensorHandle(), IWorkloadFactory::CreateWorkload(), 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 937 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 945 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 1015 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 998 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 1006 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 1078 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 1062 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 1070 of file ActivationTestImpl.cpp.
Referenced by TEST_SUITE().