ArmNN
 22.05.01
DequantizeTestImpl.cpp File Reference

Go to the source code of this file.

Functions

LayerTestResult< float, 4 > DequantizeSimpleUint8Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > DequantizeOffsetUint8Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > DequantizeSimpleAsymmInt8Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > DequantizeOffsetAsymmInt8Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > DequantizeSimpleInt8Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > DequantizeSimpleInt16Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< armnn::Half, 4 > DequantizeSimpleUint8ToFp16Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< armnn::Half, 4 > DequantizeSimpleInt8ToFp16Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< armnn::Half, 4 > DequantizeSimpleInt16ToFp16Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 

Function Documentation

◆ DequantizeOffsetAsymmInt8Test()

LayerTestResult<float, 4> DequantizeOffsetAsymmInt8Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 158 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

161 {
162  return DequantizeOffsetTest<armnn::DataType::QAsymmS8>(workloadFactory, memoryManager);
163 }

◆ DequantizeOffsetUint8Test()

LayerTestResult<float, 4> DequantizeOffsetUint8Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 144 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

147 {
148  return DequantizeOffsetTest<armnn::DataType::QAsymmU8>(workloadFactory, memoryManager);
149 }

◆ DequantizeSimpleAsymmInt8Test()

LayerTestResult<float, 4> DequantizeSimpleAsymmInt8Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 151 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

154 {
155  return DequantizeSimpleTest<armnn::DataType::QAsymmS8>(workloadFactory, memoryManager);
156 }

◆ DequantizeSimpleInt16Test()

LayerTestResult<float, 4> DequantizeSimpleInt16Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 172 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

175 {
176  return DequantizeSimpleTest<armnn::DataType::QSymmS16>(workloadFactory, memoryManager);
177 }

◆ DequantizeSimpleInt16ToFp16Test()

LayerTestResult<armnn::Half, 4> DequantizeSimpleInt16ToFp16Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 194 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

197 {
198  return DequantizeSimpleTest<armnn::DataType::QSymmS16, armnn::DataType::Float16>(workloadFactory,
199  memoryManager);
200 }

◆ DequantizeSimpleInt8Test()

LayerTestResult<float, 4> DequantizeSimpleInt8Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 165 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

168 {
169  return DequantizeSimpleTest<armnn::DataType::QSymmS8>(workloadFactory, memoryManager);
170 }

◆ DequantizeSimpleInt8ToFp16Test()

LayerTestResult<armnn::Half, 4> DequantizeSimpleInt8ToFp16Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 187 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

190 {
191  return DequantizeSimpleTest<armnn::DataType::QSymmS8, armnn::DataType::Float16>(workloadFactory, memoryManager);
192 }

◆ DequantizeSimpleUint8Test()

LayerTestResult<float, 4> DequantizeSimpleUint8Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 137 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

140 {
141  return DequantizeSimpleTest<armnn::DataType::QAsymmU8>(workloadFactory, memoryManager);
142 }

◆ DequantizeSimpleUint8ToFp16Test()

LayerTestResult<armnn::Half, 4> DequantizeSimpleUint8ToFp16Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 179 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

182 {
183  return DequantizeSimpleTest<armnn::DataType::QAsymmU8, armnn::DataType::Float16>(workloadFactory,
184  memoryManager);
185 }