21.08
|
#include "ActivationTestImpl.hpp"
#include <QuantizeHelper.hpp>
#include <ResolveType.hpp>
#include <backendsCommon/test/ActivationFixture.hpp>
#include <backendsCommon/test/TensorCopyUtils.hpp>
#include <backendsCommon/test/WorkloadTestUtils.hpp>
#include <reference/test/RefWorkloadFactoryHelper.hpp>
#include <armnn/utility/NumericCast.hpp>
#include <test/TensorHelpers.hpp>
#include <algorithm>
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<T, 4> AbsTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
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<T, 4> BoundedReLuTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | upperBound, | ||
float | lowerBound, | ||
float | inputScale, | ||
int32_t | inputOffset, | ||
float | outputScale, | ||
int32_t | outputOffset, | ||
const std::vector< T > & | inputData, | ||
const std::vector< T > & | outputExpectedData, | ||
unsigned int | inputWidth, | ||
unsigned int | inputHeight, | ||
unsigned int | inputChannels, | ||
unsigned int | inputBatchSize | ||
) |
Definition at line 23 of file ActivationTestImpl.cpp.
References armnn::BoundedReLu, CopyDataFromITensorHandle(), CopyDataToITensorHandle(), IWorkloadFactory::CreateActivation(), ITensorHandleFactory::CreateTensorHandle(), armnn::IgnoreUnused(), ActivationDescriptor::m_A, ActivationDescriptor::m_B, ActivationDescriptor::m_Function, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, and TensorInfo::SetQuantizationScale().
LayerTestResult<T, 4> BoundedReLuTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
Definition at line 607 of file ActivationTestImpl.cpp.
References armnn::BoundedReLu.
LayerTestResult<uint8_t, 4> BoundedReLuUint8UpperAndLowerBoundTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
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<T, 4> CompareActivationTestImpl | ( | 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 = 5 , |
||
float | qScale = 0.0f , |
||
int32_t | qOffset = 0 |
||
) |
Definition at line 1216 of file ActivationTestImpl.cpp.
References ARMNN_ASSERT, CopyDataFromITensorHandle(), CopyDataToITensorHandle(), IWorkloadFactory::CreateActivation(), ITensorHandleFactory::CreateTensorHandle(), TensorInfo::GetNumElements(), TensorInfo::GetShape(), armnn::IgnoreUnused(), ActivationDescriptor::m_A, ActivationDescriptor::m_B, ActivationDescriptor::m_Function, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, TensorInfo::SetQuantizationOffset(), TensorInfo::SetQuantizationScale(), and armnn::Sqrt.
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<T, 4> ConstantLinearActivationTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale = 0.0f , |
||
int32_t | qOffset = 0 |
||
) |
Definition at line 313 of file ActivationTestImpl.cpp.
References CopyDataFromITensorHandle(), CopyDataToITensorHandle(), IWorkloadFactory::CreateActivation(), ITensorHandleFactory::CreateTensorHandle(), TensorInfo::GetNumElements(), TensorInfo::GetShape(), armnn::IgnoreUnused(), armnn::Linear, ActivationDescriptor::m_A, ActivationDescriptor::m_B, ActivationDescriptor::m_Function, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, TensorInfo::SetQuantizationOffset(), and TensorInfo::SetQuantizationScale().
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<T, 4> EluTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
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<T, 4> HardSwishTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
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<T, 4> LeakyReLuTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
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<T, 4> ReLuTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
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<T, 4> SimpleActivationTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
armnn::ActivationFunction | activationFunction, | ||
float | activationParameterA, | ||
float | activationParameterB, | ||
float | scale, | ||
int32_t | offset, | ||
const std::vector< float > & | inputData, | ||
float | outScale, | ||
int32_t | outOffset, | ||
const std::vector< float > & | outputExpectedData | ||
) |
Definition at line 405 of file ActivationTestImpl.cpp.
References CopyDataFromITensorHandle(), CopyDataToITensorHandle(), IWorkloadFactory::CreateActivation(), ITensorHandleFactory::CreateTensorHandle(), armnn::IgnoreUnused(), ActivationDescriptor::m_A, ActivationDescriptor::m_B, ActivationDescriptor::m_Function, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, and TensorInfo::SetQuantizationScale().
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<T, 4> SimpleSigmoidTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
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<T, 4> SoftReLuTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
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<T, 4> SqrtTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
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<T, 4> SquareTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
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<T, 4> TanhTestCommon | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory, | ||
float | qScale, | ||
int32_t | qOffset | ||
) |
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().