ArmNN
 20.02
LstmTestImpl.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "LayerTestResult.hpp"
9 
12 
13 #if defined(ARMNNREF_ENABLED)
14 void LstmUtilsZeroVectorTest();
15 void LstmUtilsMeanStddevNormalizationNoneZeroInputTest();
16 void LstmUtilsMeanStddevNormalizationAllZeroInputTest();
17 void LstmUtilsMeanStddevNormalizationMixedZeroInputTest();
18 void LstmUtilsVectorBatchVectorCwiseProductTest();
19 void LstmUtilsVectorBatchVectorAddTest();
20 #endif
21 
23  armnn::IWorkloadFactory& workloadFactory,
25 
27  armnn::IWorkloadFactory& workloadFactory,
29 
31  armnn::IWorkloadFactory& workloadFactory,
33 
35  armnn::IWorkloadFactory& workloadFactory,
37 
39  armnn::IWorkloadFactory& workloadFactory,
41 
43  armnn::IWorkloadFactory& workloadFactory,
45 
47  armnn::IWorkloadFactory& workloadFactory,
49 
51  armnn::IWorkloadFactory& workloadFactory,
53 
54 //
55 // QuantizedLstm
56 //
57 
59  armnn::IWorkloadFactory& workloadFactory,
LayerTestResult< float, 2 > LstmLayerFloat32NoCifgNoPeepholeNoProjectionTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
LayerTestResult< float, 2 > LstmLayerFloat32NoCifgWithPeepholeWithProjectionTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
std::shared_ptr< IMemoryManager > IMemoryManagerSharedPtr
LayerTestResult< uint8_t, 2 > QuantizedLstmTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
LayerTestResult< int16_t, 2 > LstmLayerInt16NoCifgNoPeepholeNoProjectionTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
LayerTestResult< int16_t, 2 > LstmLayerInt16WithCifgWithPeepholeNoProjectionTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
LayerTestResult< float, 2 > LstmLayerFloat32WithCifgWithPeepholeNoProjectionTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
LayerTestResult< int16_t, 2 > LstmLayerInt16NoCifgNoPeepholeNoProjectionInt16ConstantTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
LayerTestResult< float, 2 > LstmLayerFloat32NoCifgWithPeepholeWithProjectionWithLayerNormTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)
LayerTestResult< int16_t, 2 > LstmLayerInt16NoCifgWithPeepholeWithProjectionTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager)