ArmNN
 20.08
GatherTestImpl.cpp 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< int32_t, 1 > Gather1dParamsInt32Test (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< int32_t, 2 > GatherMultiDimParamsInt32Test (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)
 
LayerTestResult< int32_t, 4 > GatherMultiDimParamsMultiDimIndicesInt32Test (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 308 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

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

◆ Gather1dParamsFloat32Test()

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

Definition at line 301 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

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

◆ Gather1dParamsInt16Test()

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

Definition at line 322 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

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

◆ Gather1dParamsInt32Test()

LayerTestResult<int32_t, 1> Gather1dParamsInt32Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 329 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

332 {
333  return GatherTestHelper<armnn::DataType::Signed32>::Gather1dParamsTestImpl(workloadFactory, memoryManager);
334 }

◆ Gather1dParamsUint8Test()

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

Definition at line 315 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

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

◆ GatherMultiDimParamsFloat16Test()

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

Definition at line 343 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

346 {
347  return GatherTestHelper<armnn::DataType::Float16>::GatherMultiDimParamsTestImpl(workloadFactory, memoryManager);
348 }

◆ GatherMultiDimParamsFloat32Test()

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

Definition at line 336 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

339 {
340  return GatherTestHelper<armnn::DataType::Float32>::GatherMultiDimParamsTestImpl(workloadFactory, memoryManager);
341 }

◆ GatherMultiDimParamsInt16Test()

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

Definition at line 358 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

361 {
362  return GatherTestHelper<armnn::DataType::QSymmS16>::GatherMultiDimParamsTestImpl(
363  workloadFactory, memoryManager);
364 }

◆ GatherMultiDimParamsInt32Test()

LayerTestResult<int32_t, 2> GatherMultiDimParamsInt32Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 366 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

369 {
370  return GatherTestHelper<armnn::DataType::Signed32>::GatherMultiDimParamsTestImpl(
371  workloadFactory, memoryManager);
372 }

◆ GatherMultiDimParamsMultiDimIndicesFloat16Test()

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

Definition at line 382 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

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

◆ GatherMultiDimParamsMultiDimIndicesFloat32Test()

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

Definition at line 374 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

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

◆ GatherMultiDimParamsMultiDimIndicesInt16Test()

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

Definition at line 398 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

401 {
402  return GatherTestHelper<armnn::DataType::QSymmS16>::GatherMultiDimParamsMultiDimIndicesTestImpl(
403  workloadFactory, memoryManager);
404 }

◆ GatherMultiDimParamsMultiDimIndicesInt32Test()

LayerTestResult<int32_t, 4> GatherMultiDimParamsMultiDimIndicesInt32Test ( armnn::IWorkloadFactory workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr memoryManager 
)

Definition at line 406 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

409 {
410  return GatherTestHelper<armnn::DataType::Signed32>::GatherMultiDimParamsMultiDimIndicesTestImpl(
411  workloadFactory, memoryManager);
412 }

◆ GatherMultiDimParamsMultiDimIndicesUint8Test()

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

Definition at line 390 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

393 {
394  return GatherTestHelper<armnn::DataType::QAsymmU8>::GatherMultiDimParamsMultiDimIndicesTestImpl(
395  workloadFactory, memoryManager);
396 }

◆ GatherMultiDimParamsUint8Test()

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

Definition at line 350 of file GatherTestImpl.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

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