From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_stack_test_impl_8hpp.xhtml | 368 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 368 insertions(+) create mode 100644 20.02/_stack_test_impl_8hpp.xhtml (limited to '20.02/_stack_test_impl_8hpp.xhtml') diff --git a/20.02/_stack_test_impl_8hpp.xhtml b/20.02/_stack_test_impl_8hpp.xhtml new file mode 100644 index 0000000000..4faaea3ca0 --- /dev/null +++ b/20.02/_stack_test_impl_8hpp.xhtml @@ -0,0 +1,368 @@ + + + + + + + + + + + + + +ArmNN: src/backends/backendsCommon/test/layerTests/StackTestImpl.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
StackTestImpl.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + +

+Functions

LayerTestResult< float, 4 > StackAxis0Float32Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > StackOutput4DAxis1Float32Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > StackOutput4DAxis2Float32Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 4 > StackOutput4DAxis3Float32Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 3 > StackOutput3DInputs3Float32Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< float, 5 > StackOutput5DFloat32Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
LayerTestResult< armnn::Half, 4 > StackFloat16Test (armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
 
+

Function Documentation

+ +

◆ StackAxis0Float32Test()

+ +
+
+ + + + + + + + + + + + + + + + + + +
LayerTestResult<float, 4> StackAxis0Float32Test (armnn::IWorkloadFactoryworkloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtrmemoryManager 
)
+
+ +

Definition at line 504 of file StackTestImpl.cpp.

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
507 {
508  return StackAxis0TestImpl<armnn::DataType::Float32>(workloadFactory, memoryManager);
509 }
+
+
+ +

◆ StackFloat16Test()

+ +
+
+ + + + + + + + + + + + + + + + + + +
LayerTestResult<armnn::Half, 4> StackFloat16Test (armnn::IWorkloadFactoryworkloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtrmemoryManager 
)
+
+ +

Definition at line 546 of file StackTestImpl.cpp.

+ +

References armnn::Float16.

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
549 {
550  using namespace half_float::literal;
551 
552  armnn::TensorInfo inputTensorInfo ({ 3, 2, 3 }, armnn::DataType::Float16);
553  armnn::TensorInfo outputTensorInfo({ 3, 2, 2, 3 }, armnn::DataType::Float16);
554 
555  std::vector<std::vector<armnn::Half>> inputData;
556 
557  inputData.push_back(
558  {
559  1.0_h, 2.0_h, 3.0_h,
560  4.0_h, 5.0_h, 6.0_h,
561 
562  7.0_h, 8.0_h, 9.0_h,
563  10.0_h, 11.0_h, 12.0_h,
564 
565  13.0_h, 14.0_h, 15.0_h,
566  16.0_h, 17.0_h, 18.0_h
567  });
568 
569  inputData.push_back(
570  {
571  19.0_h, 20.0_h, 21.0_h,
572  22.0_h, 23.0_h, 24.0_h,
573 
574  25.0_h, 26.0_h, 27.0_h,
575  28.0_h, 29.0_h, 30.0_h,
576 
577  31.0_h, 32.0_h, 33.0_h,
578  34.0_h, 35.0_h, 36.0_h
579  });
580 
581  std::vector<armnn::Half> outputExpectedData =
582  {
583  1.0_h, 2.0_h, 3.0_h,
584  19.0_h, 20.0_h, 21.0_h,
585 
586  4.0_h, 5.0_h, 6.0_h,
587  22.0_h, 23.0_h, 24.0_h,
588 
589  7.0_h, 8.0_h, 9.0_h,
590  25.0_h, 26.0_h, 27.0_h,
591 
592  10.0_h, 11.0_h, 12.0_h,
593  28.0_h, 29.0_h, 30.0_h,
594 
595  13.0_h, 14.0_h, 15.0_h,
596  31.0_h, 32.0_h, 33.0_h,
597 
598  16.0_h, 17.0_h, 18.0_h,
599  34.0_h, 35.0_h, 36.0_h
600  };
601 
602  return StackTestHelper<armnn::DataType::Float16, armnn::Half, 4>(
603  workloadFactory,
604  memoryManager,
605  inputTensorInfo,
606  outputTensorInfo,
607  2U,
608  inputData,
609  outputExpectedData
610  );
611 }
+ +
+
+
+ +

◆ StackOutput3DInputs3Float32Test()

+ +
+
+ + + + + + + + + + + + + + + + + + +
LayerTestResult<float, 3> StackOutput3DInputs3Float32Test (armnn::IWorkloadFactoryworkloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtrmemoryManager 
)
+
+ +

Definition at line 532 of file StackTestImpl.cpp.

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
535 {
536  return StackOutput3DInputs3TestImpl<armnn::DataType::Float32>(workloadFactory, memoryManager);
537 }
+
+
+ +

◆ StackOutput4DAxis1Float32Test()

+ +
+
+ + + + + + + + + + + + + + + + + + +
LayerTestResult<float, 4> StackOutput4DAxis1Float32Test (armnn::IWorkloadFactoryworkloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtrmemoryManager 
)
+
+ +

Definition at line 511 of file StackTestImpl.cpp.

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
514 {
515  return StackOutput4DAxis1TestImpl<armnn::DataType::Float32>(workloadFactory, memoryManager);
516 }
+
+
+ +

◆ StackOutput4DAxis2Float32Test()

+ +
+
+ + + + + + + + + + + + + + + + + + +
LayerTestResult<float, 4> StackOutput4DAxis2Float32Test (armnn::IWorkloadFactoryworkloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtrmemoryManager 
)
+
+ +

Definition at line 518 of file StackTestImpl.cpp.

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
521 {
522  return StackOutput4DAxis2TestImpl<armnn::DataType::Float32>(workloadFactory, memoryManager);
523 }
+
+
+ +

◆ StackOutput4DAxis3Float32Test()

+ +
+
+ + + + + + + + + + + + + + + + + + +
LayerTestResult<float, 4> StackOutput4DAxis3Float32Test (armnn::IWorkloadFactoryworkloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtrmemoryManager 
)
+
+ +

Definition at line 525 of file StackTestImpl.cpp.

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
528 {
529  return StackOutput4DAxis3TestImpl<armnn::DataType::Float32>(workloadFactory, memoryManager);
530 }
+
+
+ +

◆ StackOutput5DFloat32Test()

+ +
+
+ + + + + + + + + + + + + + + + + + +
LayerTestResult<float, 5> StackOutput5DFloat32Test (armnn::IWorkloadFactoryworkloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtrmemoryManager 
)
+
+ +

Definition at line 539 of file StackTestImpl.cpp.

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
542 {
543  return StackOutput5DTestImpl<armnn::DataType::Float32>(workloadFactory, memoryManager);
544 }
+
+
+
+
+ + + + -- cgit v1.2.1