Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 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 | |
| 10 | #include <backendsCommon/IBackendInternal.hpp> |
| 11 | #include <backendsCommon/WorkloadFactory.hpp> |
| 12 | |
| 13 | LayerTestResult<float, 4> MultiplicationTest( |
| 14 | armnn::IWorkloadFactory& workloadFactory, |
| 15 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager); |
| 16 | |
| 17 | LayerTestResult<float, 5> Multiplication5dTest( |
| 18 | armnn::IWorkloadFactory& workloadFactory, |
| 19 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager); |
| 20 | |
| 21 | LayerTestResult<float, 4> MultiplicationBroadcast1ElementTest( |
| 22 | armnn::IWorkloadFactory& workloadFactory, |
| 23 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager); |
| 24 | |
| 25 | LayerTestResult<float, 4> MultiplicationBroadcast1DVectorTest( |
| 26 | armnn::IWorkloadFactory& workloadFactory, |
| 27 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager); |
| 28 | |
| 29 | LayerTestResult<uint8_t, 4> MultiplicationUint8Test( |
| 30 | armnn::IWorkloadFactory& workloadFactory, |
| 31 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager); |
| 32 | |
| 33 | LayerTestResult<uint8_t, 4> MultiplicationBroadcast1ElementUint8Test( |
| 34 | armnn::IWorkloadFactory& workloadFactory, |
| 35 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager); |
| 36 | |
| 37 | LayerTestResult<uint8_t, 4> MultiplicationBroadcast1DVectorUint8Test( |
| 38 | armnn::IWorkloadFactory& workloadFactory, |
| 39 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager); |
| 40 | |
| 41 | LayerTestResult<int16_t, 4> MultiplicationInt16Test( |
| 42 | armnn::IWorkloadFactory& workloadFactory, |
| 43 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager); |
| 44 | |
| 45 | LayerTestResult<int16_t, 4> MultiplicationBroadcast1ElementInt16Test( |
| 46 | armnn::IWorkloadFactory& workloadFactory, |
| 47 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager); |
| 48 | |
| 49 | LayerTestResult<int16_t, 4> MultiplicationBroadcast1DVectorInt16Test( |
| 50 | armnn::IWorkloadFactory& workloadFactory, |
| 51 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager); |
| 52 | |
| 53 | LayerTestResult<float, 4> CompareMultiplicationTest( |
| 54 | armnn::IWorkloadFactory& workloadFactory, |
| 55 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager, |
| 56 | armnn::IWorkloadFactory& refWorkloadFactory); |