blob: 60ef975563f5d8b79da996314c6a2ba610c64c4a [file] [log] [blame]
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include "LayerTestResult.hpp"
9
10#include <backendsCommon/IBackendInternal.hpp>
11#include <backendsCommon/WorkloadFactory.hpp>
12
13LayerTestResult<float, 4> AdditionTest(
14 armnn::IWorkloadFactory& workloadFactory,
15 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager);
16
17LayerTestResult<float, 5> Addition5dTest(
18 armnn::IWorkloadFactory& workloadFactory,
19 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager);
20
21LayerTestResult<float, 4> AdditionBroadcast1ElementTest(
22 armnn::IWorkloadFactory& workloadFactory,
23 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager);
24
25LayerTestResult<float, 4> AdditionBroadcastTest(
26 armnn::IWorkloadFactory& workloadFactory,
27 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager);
28
29LayerTestResult<uint8_t, 4> AdditionUint8Test(
30 armnn::IWorkloadFactory& workloadFactory,
31 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager);
32
33LayerTestResult<uint8_t, 4> AdditionBroadcast1ElementUint8Test(
34 armnn::IWorkloadFactory& workloadFactory,
35 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager);
36
37LayerTestResult<uint8_t, 4> AdditionBroadcastUint8Test(
38 armnn::IWorkloadFactory& workloadFactory,
39 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager);
40
41LayerTestResult<int16_t, 4> AdditionInt16Test(
42 armnn::IWorkloadFactory& workloadFactory,
43 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager);
44
45LayerTestResult<int16_t, 4> AdditionBroadcastInt16Test(
46 armnn::IWorkloadFactory& workloadFactory,
47 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager);
48
49LayerTestResult<int16_t, 4> AdditionBroadcast1ElementInt16Test(
50 armnn::IWorkloadFactory& workloadFactory,
51 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager);
52
53LayerTestResult<float, 4> AdditionAfterMaxPoolTest(
54 armnn::IWorkloadFactory& workloadFactory,
55 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager);
56
57LayerTestResult<float, 4> CompareAdditionTest(
58 armnn::IWorkloadFactory& workloadFactory,
59 const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager,
60 armnn::IWorkloadFactory& refWorkloadFactory);