ArmNN
 20.05
GatherTestImpl.hpp File Reference

Go to the source code of this file.

Functions

LayerTestResult< float, 1 > Gather1dParamsFloat32Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< armnn::Half, 1 > Gather1dParamsFloat16Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< uint8_t, 1 > Gather1dParamsUint8Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< int16_t, 1 > Gather1dParamsInt16Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 2 > GatherMultiDimParamsFloat32Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< armnn::Half, 2 > GatherMultiDimParamsFloat16Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< uint8_t, 2 > GatherMultiDimParamsUint8Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< int16_t, 2 > GatherMultiDimParamsInt16Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > GatherMultiDimParamsMultiDimIndicesFloat32Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< armnn::Half, 4 > GatherMultiDimParamsMultiDimIndicesFloat16Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< uint8_t, 4 > GatherMultiDimParamsMultiDimIndicesUint8Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< int16_t, 4 > GatherMultiDimParamsMultiDimIndicesInt16Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 

Function Documentation

◆ Gather1dParamsFloat16Test()

LayerTestResult<armnn::Half, 1> Gather1dParamsFloat16Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 306 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

309 {
310  return GatherTestHelper<armnn::DataType::Float16>::Gather1dParamsTestImpl(workloadFactory, memoryManager);
311 }

◆ Gather1dParamsFloat32Test()

LayerTestResult<float, 1> Gather1dParamsFloat32Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 299 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

302 {
303  return GatherTestHelper<armnn::DataType::Float32>::Gather1dParamsTestImpl(workloadFactory, memoryManager);
304 }

◆ Gather1dParamsInt16Test()

LayerTestResult<int16_t, 1> Gather1dParamsInt16Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 320 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

323 {
324  return GatherTestHelper<armnn::DataType::QSymmS16>::Gather1dParamsTestImpl(workloadFactory, memoryManager);
325 }

◆ Gather1dParamsUint8Test()

LayerTestResult<uint8_t, 1> Gather1dParamsUint8Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 313 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

316 {
317  return GatherTestHelper<armnn::DataType::QAsymmU8>::Gather1dParamsTestImpl(workloadFactory, memoryManager);
318 }

◆ GatherMultiDimParamsFloat16Test()

LayerTestResult<armnn::Half, 2> GatherMultiDimParamsFloat16Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 334 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

337 {
338  return GatherTestHelper<armnn::DataType::Float16>::GatherMultiDimParamsTestImpl(workloadFactory, memoryManager);
339 }

◆ GatherMultiDimParamsFloat32Test()

LayerTestResult<float, 2> GatherMultiDimParamsFloat32Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 327 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

330 {
331  return GatherTestHelper<armnn::DataType::Float32>::GatherMultiDimParamsTestImpl(workloadFactory, memoryManager);
332 }

◆ GatherMultiDimParamsInt16Test()

LayerTestResult<int16_t, 2> GatherMultiDimParamsInt16Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 349 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

352 {
353  return GatherTestHelper<armnn::DataType::QSymmS16>::GatherMultiDimParamsTestImpl(
354  workloadFactory, memoryManager);
355 }

◆ GatherMultiDimParamsMultiDimIndicesFloat16Test()

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

Definition at line 365 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

368 {
369  return GatherTestHelper<armnn::DataType::Float16>::GatherMultiDimParamsMultiDimIndicesTestImpl(
370  workloadFactory, memoryManager);
371 }

◆ GatherMultiDimParamsMultiDimIndicesFloat32Test()

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

Definition at line 357 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

360 {
361  return GatherTestHelper<armnn::DataType::Float32>::GatherMultiDimParamsMultiDimIndicesTestImpl(
362  workloadFactory, memoryManager);
363 }

◆ GatherMultiDimParamsMultiDimIndicesInt16Test()

LayerTestResult<int16_t, 4> GatherMultiDimParamsMultiDimIndicesInt16Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 381 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

384 {
385  return GatherTestHelper<armnn::DataType::QSymmS16>::GatherMultiDimParamsMultiDimIndicesTestImpl(
386  workloadFactory, memoryManager);
387 }

◆ GatherMultiDimParamsMultiDimIndicesUint8Test()

LayerTestResult<uint8_t, 4> GatherMultiDimParamsMultiDimIndicesUint8Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 373 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

376 {
377  return GatherTestHelper<armnn::DataType::QAsymmU8>::GatherMultiDimParamsMultiDimIndicesTestImpl(
378  workloadFactory, memoryManager);
379 }

◆ GatherMultiDimParamsUint8Test()

LayerTestResult<uint8_t, 2> GatherMultiDimParamsUint8Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 341 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

344 {
345  return GatherTestHelper<armnn::DataType::QAsymmU8>::GatherMultiDimParamsTestImpl(
346  workloadFactory, memoryManager);
347 }