Narumol Prangnawarat | e5339e7 | 2021-07-28 17:33:28 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2021 Arm Ltd and Contributors. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include "LayerTestResult.hpp" |
| 9 | |
| 10 | #include <armnn/backends/IBackendInternal.hpp> |
| 11 | #include <backendsCommon/WorkloadFactory.hpp> |
| 12 | |
| 13 | LayerTestResult<float, 3> UnidirectionalSequenceLstmLayerFloat32Test( |
| 14 | armnn::IWorkloadFactory& workloadFactory, |
| 15 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager, |
| 16 | const armnn::ITensorHandleFactory& tensorHandleFactory); |
| 17 | |
| 18 | LayerTestResult<float, 3> UnidirectionalSequenceLstmLayerFloat32TimeMajorTest( |
| 19 | armnn::IWorkloadFactory& workloadFactory, |
| 20 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager, |
| 21 | const armnn::ITensorHandleFactory& tensorHandleFactory); |
| 22 | |
| 23 | LayerTestResult<float, 3> UnidirectionalSequenceLstmLayerNoCifgWithPeepholeWithProjectionTest( |
| 24 | armnn::IWorkloadFactory& workloadFactory, |
| 25 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager, |
| 26 | const armnn::ITensorHandleFactory& tensorHandleFactory); |
| 27 | |
| 28 | LayerTestResult<float, 3> UnidirectionalSequenceLstmLayerNoCifgWithPeepholeWithProjectionWithLayerNormTest( |
| 29 | armnn::IWorkloadFactory& workloadFactory, |
| 30 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager, |
| 31 | const armnn::ITensorHandleFactory& tensorHandleFactory); |
| 32 | |
| 33 | LayerTestResult<float, 3> UnidirectionalSequenceLstmWithCifgWithPeepholeNoProjectionTest( |
| 34 | armnn::IWorkloadFactory& workloadFactory, |
| 35 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager, |
| 36 | const armnn::ITensorHandleFactory& tensorHandleFactory); |