ArmNN
 21.08
DequantizeTestImpl.hpp 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 156 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

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

◆ DequantizeOffsetUint8Test()

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

Definition at line 142 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

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

◆ DequantizeSimpleAsymmInt8Test()

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

Definition at line 149 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

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

◆ DequantizeSimpleInt16Test()

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

Definition at line 170 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

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

◆ DequantizeSimpleInt16ToFp16Test()

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

Definition at line 192 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

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

◆ DequantizeSimpleInt8Test()

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

Definition at line 163 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

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

◆ DequantizeSimpleInt8ToFp16Test()

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

Definition at line 185 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

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

◆ DequantizeSimpleUint8Test()

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

Definition at line 135 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

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

◆ DequantizeSimpleUint8ToFp16Test()

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

Definition at line 177 of file DequantizeTestImpl.cpp.

Referenced by TEST_SUITE().

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