ArmNN  NotReleased
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 153 of file DequantizeTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

156 {
157  return DequantizeOffsetTest<armnn::DataType::QAsymmS8>(workloadFactory, memoryManager);
158 }

◆ DequantizeOffsetUint8Test()

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

Definition at line 139 of file DequantizeTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

142 {
143  return DequantizeOffsetTest<armnn::DataType::QAsymmU8>(workloadFactory, memoryManager);
144 }

◆ DequantizeSimpleAsymmInt8Test()

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

Definition at line 146 of file DequantizeTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

149 {
150  return DequantizeSimpleTest<armnn::DataType::QAsymmS8>(workloadFactory, memoryManager);
151 }

◆ DequantizeSimpleInt16Test()

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

Definition at line 167 of file DequantizeTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

170 {
171  return DequantizeSimpleTest<armnn::DataType::QSymmS16>(workloadFactory, memoryManager);
172 }

◆ DequantizeSimpleInt16ToFp16Test()

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

Definition at line 189 of file DequantizeTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

192 {
193  return DequantizeSimpleTest<armnn::DataType::QSymmS16, armnn::DataType::Float16>(workloadFactory,
194  memoryManager);
195 }

◆ DequantizeSimpleInt8Test()

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

Definition at line 160 of file DequantizeTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

163 {
164  return DequantizeSimpleTest<armnn::DataType::QSymmS8>(workloadFactory, memoryManager);
165 }

◆ DequantizeSimpleInt8ToFp16Test()

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

Definition at line 182 of file DequantizeTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

185 {
186  return DequantizeSimpleTest<armnn::DataType::QSymmS8, armnn::DataType::Float16>(workloadFactory, memoryManager);
187 }

◆ DequantizeSimpleUint8Test()

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

Definition at line 132 of file DequantizeTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

135 {
136  return DequantizeSimpleTest<armnn::DataType::QAsymmU8>(workloadFactory, memoryManager);
137 }

◆ DequantizeSimpleUint8ToFp16Test()

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

Definition at line 174 of file DequantizeTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

177 {
178  return DequantizeSimpleTest<armnn::DataType::QAsymmU8, armnn::DataType::Float16>(workloadFactory,
179  memoryManager);
180 }