21.05
|
#include "LstmTestImpl.hpp"
#include <QuantizeHelper.hpp>
#include <armnn/utility/NumericCast.hpp>
#include <backendsCommon/TensorHandle.hpp>
#include <backendsCommon/test/TensorCopyUtils.hpp>
#include <backendsCommon/test/WorkloadTestUtils.hpp>
#include <reference/workloads/Decoders.hpp>
#include <reference/workloads/Encoders.hpp>
#include <reference/workloads/LstmUtils.hpp>
#include <test/TensorHelpers.hpp>
#include <boost/multi_array.hpp>
Go to the source code of this file.
LayerTestResult<float, 2> LstmLayerFloat32NoCifgNoPeepholeNoProjectionTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2701 of file LstmTestImpl.cpp.
References armnn::Float32.
Referenced by BOOST_AUTO_TEST_CASE().
LayerTestResult<float, 2> LstmLayerFloat32NoCifgWithPeepholeWithProjectionTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2678 of file LstmTestImpl.cpp.
References armnn::Float32.
Referenced by BOOST_AUTO_TEST_CASE().
LayerTestResult<float, 2> LstmLayerFloat32NoCifgWithPeepholeWithProjectionWithLayerNormTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2719 of file LstmTestImpl.cpp.
References armnn::Float32.
Referenced by BOOST_AUTO_TEST_CASE().
LayerTestResult<float, 2> LstmLayerFloat32WithCifgWithPeepholeNoProjectionTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2661 of file LstmTestImpl.cpp.
References armnn::Float32.
Referenced by BOOST_AUTO_TEST_CASE().
LayerTestResult<int16_t, 2> LstmLayerInt16NoCifgNoPeepholeNoProjectionInt16ConstantTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2843 of file LstmTestImpl.cpp.
References armnn::QSymmS16.
Referenced by BOOST_AUTO_TEST_CASE().
LayerTestResult<int16_t, 2> LstmLayerInt16NoCifgNoPeepholeNoProjectionTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2737 of file LstmTestImpl.cpp.
References armnn::QAsymmU8, and armnn::QSymmS16.
Referenced by BOOST_AUTO_TEST_CASE().
LayerTestResult<int16_t, 2> LstmLayerInt16NoCifgWithPeepholeWithProjectionTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2800 of file LstmTestImpl.cpp.
References armnn::QAsymmU8, and armnn::QSymmS16.
Referenced by BOOST_AUTO_TEST_CASE().
LayerTestResult<int16_t, 2> LstmLayerInt16WithCifgWithPeepholeNoProjectionTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2768 of file LstmTestImpl.cpp.
References armnn::QAsymmU8, and armnn::QSymmS16.
Referenced by BOOST_AUTO_TEST_CASE().
LayerTestResult<int8_t, 2> QLstmTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2894 of file LstmTestImpl.cpp.
References armnn::QAsymmS8.
Referenced by BOOST_AUTO_TEST_CASE().
LayerTestResult<int8_t, 2> QLstmTest1 | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2910 of file LstmTestImpl.cpp.
References armnn::QAsymmS8.
Referenced by BOOST_AUTO_TEST_CASE().
LayerTestResult<int8_t, 2> QLstmTest2 | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2926 of file LstmTestImpl.cpp.
References armnn::QAsymmS8.
Referenced by BOOST_AUTO_TEST_CASE().
LayerTestResult<uint8_t, 2> QuantizedLstmTest | ( | armnn::IWorkloadFactory & | workloadFactory, |
const armnn::IBackendInternal::IMemoryManagerSharedPtr & | memoryManager, | ||
const armnn::ITensorHandleFactory & | tensorHandleFactory | ||
) |
Definition at line 2877 of file LstmTestImpl.cpp.
References armnn::QAsymmU8.