Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 5 | |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 6 | #include "DebugTestImpl.hpp" |
| 7 | |
Aron Virginas-Tar | 48623a0 | 2019-10-22 10:00:28 +0100 | [diff] [blame] | 8 | #include <QuantizeHelper.hpp> |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 9 | #include <ResolveType.hpp> |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 10 | |
| 11 | #include <armnn/ArmNN.hpp> |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 12 | |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 13 | #include <backendsCommon/test/TensorCopyUtils.hpp> |
| 14 | #include <backendsCommon/test/WorkloadTestUtils.hpp> |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 15 | |
| 16 | #include <test/TensorHelpers.hpp> |
| 17 | |
| 18 | namespace |
| 19 | { |
| 20 | |
| 21 | template<typename T, std::size_t Dim> |
| 22 | LayerTestResult<T, Dim> DebugTestImpl( |
| 23 | armnn::IWorkloadFactory& workloadFactory, |
| 24 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager, |
| 25 | armnn::TensorInfo& inputTensorInfo, |
| 26 | armnn::TensorInfo& outputTensorInfo, |
| 27 | std::vector<float>& inputData, |
| 28 | std::vector<float>& outputExpectedData, |
| 29 | armnn::DebugQueueDescriptor descriptor, |
| 30 | const std::string expectedStringOutput, |
| 31 | const float qScale = 1.0f, |
| 32 | const int32_t qOffset = 0) |
| 33 | { |
| 34 | if(armnn::IsQuantizedType<T>()) |
| 35 | { |
| 36 | inputTensorInfo.SetQuantizationScale(qScale); |
| 37 | inputTensorInfo.SetQuantizationOffset(qOffset); |
| 38 | |
| 39 | outputTensorInfo.SetQuantizationScale(qScale); |
| 40 | outputTensorInfo.SetQuantizationOffset(qOffset); |
| 41 | } |
| 42 | |
| 43 | boost::multi_array<T, Dim> input = |
Aron Virginas-Tar | 48623a0 | 2019-10-22 10:00:28 +0100 | [diff] [blame] | 44 | MakeTensor<T, Dim>(inputTensorInfo, armnnUtils::QuantizedVector<T>(inputData, qScale, qOffset)); |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 45 | |
| 46 | LayerTestResult<T, Dim> ret(outputTensorInfo); |
| 47 | ret.outputExpected = |
Aron Virginas-Tar | 48623a0 | 2019-10-22 10:00:28 +0100 | [diff] [blame] | 48 | MakeTensor<T, Dim>(outputTensorInfo, armnnUtils::QuantizedVector<T>(outputExpectedData, qScale, qOffset)); |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 49 | |
| 50 | std::unique_ptr<armnn::ITensorHandle> inputHandle = |
| 51 | workloadFactory.CreateTensorHandle(inputTensorInfo); |
| 52 | |
| 53 | std::unique_ptr<armnn::ITensorHandle> outputHandle = |
| 54 | workloadFactory.CreateTensorHandle(outputTensorInfo); |
| 55 | |
| 56 | armnn::WorkloadInfo info; |
| 57 | AddInputToWorkload(descriptor, info, inputTensorInfo, inputHandle.get()); |
| 58 | AddOutputToWorkload(descriptor, info, outputTensorInfo, outputHandle.get()); |
| 59 | |
| 60 | std::unique_ptr<armnn::IWorkload> workload = workloadFactory.CreateDebug(descriptor, info); |
| 61 | |
| 62 | inputHandle->Allocate(); |
| 63 | outputHandle->Allocate(); |
| 64 | |
| 65 | CopyDataToITensorHandle(inputHandle.get(), input.data()); |
Matteo Martincigh | 4912402 | 2019-01-11 13:25:59 +0000 | [diff] [blame] | 66 | |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 67 | std::ostringstream oss; |
| 68 | std::streambuf* coutStreambuf = std::cout.rdbuf(); |
| 69 | std::cout.rdbuf(oss.rdbuf()); |
| 70 | |
| 71 | ExecuteWorkload(*workload, memoryManager); |
Matteo Martincigh | 4912402 | 2019-01-11 13:25:59 +0000 | [diff] [blame] | 72 | |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 73 | std::cout.rdbuf(coutStreambuf); |
Matteo Martincigh | 4912402 | 2019-01-11 13:25:59 +0000 | [diff] [blame] | 74 | |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 75 | BOOST_TEST(oss.str() == expectedStringOutput); |
| 76 | |
| 77 | CopyDataFromITensorHandle(ret.output.data(), outputHandle.get()); |
| 78 | |
| 79 | return ret; |
| 80 | } |
| 81 | |
Nattapat Chaimanowong | 649dd95 | 2019-01-22 16:10:44 +0000 | [diff] [blame] | 82 | template <armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 83 | LayerTestResult<T, 4> Debug4dTest( |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 84 | armnn::IWorkloadFactory& workloadFactory, |
| 85 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 86 | { |
| 87 | armnn::TensorInfo inputTensorInfo; |
| 88 | armnn::TensorInfo outputTensorInfo; |
| 89 | |
| 90 | unsigned int inputShape[] = {1, 2, 2, 3}; |
| 91 | unsigned int outputShape[] = {1, 2, 2, 3}; |
| 92 | |
| 93 | armnn::DebugQueueDescriptor desc; |
Nattapat Chaimanowong | 964e955 | 2019-03-26 11:03:26 +0000 | [diff] [blame] | 94 | desc.m_Guid = 1; |
| 95 | desc.m_LayerName = "TestOutput"; |
| 96 | desc.m_SlotIndex = 0; |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 97 | |
Nattapat Chaimanowong | 649dd95 | 2019-01-22 16:10:44 +0000 | [diff] [blame] | 98 | inputTensorInfo = armnn::TensorInfo(4, inputShape, ArmnnType); |
| 99 | outputTensorInfo = armnn::TensorInfo(4, outputShape, ArmnnType); |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 100 | |
| 101 | std::vector<float> input = std::vector<float>( |
| 102 | { |
| 103 | 1.0f, 2.0f, 3.0f, |
| 104 | 4.0f, 5.0f, 6.0f, |
| 105 | 7.0f, 8.0f, 9.0f, |
| 106 | 10.0f, 11.0f, 12.0f, |
| 107 | }); |
| 108 | |
| 109 | std::vector<float> outputExpected = std::vector<float>( |
| 110 | { |
| 111 | 1.0f, 2.0f, 3.0f, |
| 112 | 4.0f, 5.0f, 6.0f, |
| 113 | 7.0f, 8.0f, 9.0f, |
| 114 | 10.0f, 11.0f, 12.0f, |
| 115 | }); |
| 116 | |
| 117 | const std::string expectedStringOutput = |
Nattapat Chaimanowong | 964e955 | 2019-03-26 11:03:26 +0000 | [diff] [blame] | 118 | "{ \"layerGuid\": 1," |
| 119 | " \"layerName\": \"TestOutput\"," |
| 120 | " \"outputSlot\": 0," |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 121 | " \"shape\": [1, 2, 2, 3]," |
| 122 | " \"min\": 1, \"max\": 12," |
| 123 | " \"data\": [[[[1, 2, 3], [4, 5, 6]], [[7, 8, 9], [10, 11, 12]]]] }\n"; |
| 124 | |
| 125 | return DebugTestImpl<T, 4>(workloadFactory, |
| 126 | memoryManager, |
| 127 | inputTensorInfo, |
| 128 | outputTensorInfo, |
| 129 | input, |
| 130 | outputExpected, |
| 131 | desc, |
| 132 | expectedStringOutput); |
| 133 | } |
| 134 | |
Nattapat Chaimanowong | 649dd95 | 2019-01-22 16:10:44 +0000 | [diff] [blame] | 135 | template <armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 136 | LayerTestResult<T, 3> Debug3dTest( |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 137 | armnn::IWorkloadFactory& workloadFactory, |
| 138 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 139 | { |
| 140 | armnn::TensorInfo inputTensorInfo; |
| 141 | armnn::TensorInfo outputTensorInfo; |
| 142 | |
| 143 | unsigned int inputShape[] = {3, 3, 1}; |
| 144 | unsigned int outputShape[] = {3, 3, 1}; |
| 145 | |
| 146 | armnn::DebugQueueDescriptor desc; |
Nattapat Chaimanowong | 964e955 | 2019-03-26 11:03:26 +0000 | [diff] [blame] | 147 | desc.m_Guid = 1; |
| 148 | desc.m_LayerName = "TestOutput"; |
| 149 | desc.m_SlotIndex = 0; |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 150 | |
Nattapat Chaimanowong | 649dd95 | 2019-01-22 16:10:44 +0000 | [diff] [blame] | 151 | inputTensorInfo = armnn::TensorInfo(3, inputShape, ArmnnType); |
| 152 | outputTensorInfo = armnn::TensorInfo(3, outputShape, ArmnnType); |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 153 | |
| 154 | std::vector<float> input = std::vector<float>( |
| 155 | { |
| 156 | 1.0f, 2.0f, 3.0f, |
| 157 | 4.0f, 5.0f, 6.0f, |
| 158 | 7.0f, 8.0f, 9.0f, |
| 159 | }); |
| 160 | |
| 161 | std::vector<float> outputExpected = std::vector<float>( |
| 162 | { |
| 163 | 1.0f, 2.0f, 3.0f, |
| 164 | 4.0f, 5.0f, 6.0f, |
| 165 | 7.0f, 8.0f, 9.0f, |
| 166 | }); |
| 167 | |
| 168 | const std::string expectedStringOutput = |
Nattapat Chaimanowong | 964e955 | 2019-03-26 11:03:26 +0000 | [diff] [blame] | 169 | "{ \"layerGuid\": 1," |
| 170 | " \"layerName\": \"TestOutput\"," |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 171 | " \"outputSlot\": 0," |
| 172 | " \"shape\": [3, 3, 1]," |
| 173 | " \"min\": 1, \"max\": 9," |
| 174 | " \"data\": [[[1], [2], [3]], [[4], [5], [6]], [[7], [8], [9]]] }\n"; |
| 175 | |
| 176 | return DebugTestImpl<T, 3>(workloadFactory, |
| 177 | memoryManager, |
| 178 | inputTensorInfo, |
| 179 | outputTensorInfo, |
| 180 | input, |
| 181 | outputExpected, |
| 182 | desc, |
| 183 | expectedStringOutput); |
| 184 | } |
| 185 | |
Nattapat Chaimanowong | 649dd95 | 2019-01-22 16:10:44 +0000 | [diff] [blame] | 186 | template <armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 187 | LayerTestResult<T, 2> Debug2dTest( |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 188 | armnn::IWorkloadFactory& workloadFactory, |
| 189 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 190 | { |
| 191 | armnn::TensorInfo inputTensorInfo; |
| 192 | armnn::TensorInfo outputTensorInfo; |
| 193 | |
| 194 | unsigned int inputShape[] = {2, 2}; |
| 195 | unsigned int outputShape[] = {2, 2}; |
| 196 | |
| 197 | armnn::DebugQueueDescriptor desc; |
Nattapat Chaimanowong | 964e955 | 2019-03-26 11:03:26 +0000 | [diff] [blame] | 198 | desc.m_Guid = 1; |
| 199 | desc.m_LayerName = "TestOutput"; |
| 200 | desc.m_SlotIndex = 0; |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 201 | |
Nattapat Chaimanowong | 649dd95 | 2019-01-22 16:10:44 +0000 | [diff] [blame] | 202 | inputTensorInfo = armnn::TensorInfo(2, inputShape, ArmnnType); |
| 203 | outputTensorInfo = armnn::TensorInfo(2, outputShape, ArmnnType); |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 204 | |
| 205 | std::vector<float> input = std::vector<float>( |
| 206 | { |
| 207 | 1.0f, 2.0f, |
| 208 | 3.0f, 4.0f, |
| 209 | }); |
| 210 | |
| 211 | std::vector<float> outputExpected = std::vector<float>( |
| 212 | { |
| 213 | 1.0f, 2.0f, |
| 214 | 3.0f, 4.0f, |
| 215 | }); |
| 216 | |
| 217 | const std::string expectedStringOutput = |
Nattapat Chaimanowong | 964e955 | 2019-03-26 11:03:26 +0000 | [diff] [blame] | 218 | "{ \"layerGuid\": 1," |
| 219 | " \"layerName\": \"TestOutput\"," |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 220 | " \"outputSlot\": 0," |
| 221 | " \"shape\": [2, 2]," |
| 222 | " \"min\": 1, \"max\": 4," |
| 223 | " \"data\": [[1, 2], [3, 4]] }\n"; |
| 224 | |
| 225 | return DebugTestImpl<T, 2>(workloadFactory, |
| 226 | memoryManager, |
| 227 | inputTensorInfo, |
| 228 | outputTensorInfo, |
| 229 | input, |
| 230 | outputExpected, |
| 231 | desc, |
| 232 | expectedStringOutput); |
| 233 | } |
| 234 | |
Nattapat Chaimanowong | 649dd95 | 2019-01-22 16:10:44 +0000 | [diff] [blame] | 235 | template <armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 236 | LayerTestResult<T, 1> Debug1dTest( |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 237 | armnn::IWorkloadFactory& workloadFactory, |
| 238 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 239 | { |
| 240 | armnn::TensorInfo inputTensorInfo; |
| 241 | armnn::TensorInfo outputTensorInfo; |
| 242 | |
| 243 | unsigned int inputShape[] = {4}; |
| 244 | unsigned int outputShape[] = {4}; |
| 245 | |
| 246 | armnn::DebugQueueDescriptor desc; |
Nattapat Chaimanowong | 964e955 | 2019-03-26 11:03:26 +0000 | [diff] [blame] | 247 | desc.m_Guid = 1; |
| 248 | desc.m_LayerName = "TestOutput"; |
| 249 | desc.m_SlotIndex = 0; |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 250 | |
Nattapat Chaimanowong | 649dd95 | 2019-01-22 16:10:44 +0000 | [diff] [blame] | 251 | inputTensorInfo = armnn::TensorInfo(1, inputShape, ArmnnType); |
| 252 | outputTensorInfo = armnn::TensorInfo(1, outputShape, ArmnnType); |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 253 | |
| 254 | std::vector<float> input = std::vector<float>( |
| 255 | { |
| 256 | 1.0f, 2.0f, 3.0f, 4.0f, |
| 257 | }); |
| 258 | |
| 259 | std::vector<float> outputExpected = std::vector<float>( |
| 260 | { |
| 261 | 1.0f, 2.0f, 3.0f, 4.0f, |
| 262 | }); |
| 263 | |
| 264 | const std::string expectedStringOutput = |
Nattapat Chaimanowong | 964e955 | 2019-03-26 11:03:26 +0000 | [diff] [blame] | 265 | "{ \"layerGuid\": 1," |
| 266 | " \"layerName\": \"TestOutput\"," |
Nattapat Chaimanowong | cfdcadf | 2018-12-06 11:54:33 +0000 | [diff] [blame] | 267 | " \"outputSlot\": 0," |
| 268 | " \"shape\": [4]," |
| 269 | " \"min\": 1, \"max\": 4," |
| 270 | " \"data\": [1, 2, 3, 4] }\n"; |
| 271 | |
| 272 | return DebugTestImpl<T, 1>(workloadFactory, |
| 273 | memoryManager, |
| 274 | inputTensorInfo, |
| 275 | outputTensorInfo, |
| 276 | input, |
| 277 | outputExpected, |
| 278 | desc, |
| 279 | expectedStringOutput); |
| 280 | } |
| 281 | |
| 282 | } // anonymous namespace |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 283 | |
| 284 | LayerTestResult<float, 4> Debug4dFloat32Test( |
| 285 | armnn::IWorkloadFactory& workloadFactory, |
| 286 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 287 | { |
| 288 | return Debug4dTest<armnn::DataType::Float32>(workloadFactory, memoryManager); |
| 289 | } |
| 290 | |
| 291 | LayerTestResult<float, 3> Debug3dFloat32Test( |
| 292 | armnn::IWorkloadFactory& workloadFactory, |
| 293 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 294 | { |
| 295 | return Debug3dTest<armnn::DataType::Float32>(workloadFactory, memoryManager); |
| 296 | } |
| 297 | |
| 298 | LayerTestResult<float, 2> Debug2dFloat32Test( |
| 299 | armnn::IWorkloadFactory& workloadFactory, |
| 300 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 301 | { |
| 302 | return Debug2dTest<armnn::DataType::Float32>(workloadFactory, memoryManager); |
| 303 | } |
| 304 | |
| 305 | LayerTestResult<float, 1> Debug1dFloat32Test( |
| 306 | armnn::IWorkloadFactory& workloadFactory, |
| 307 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 308 | { |
| 309 | return Debug1dTest<armnn::DataType::Float32>(workloadFactory, memoryManager); |
| 310 | } |
| 311 | |
| 312 | LayerTestResult<uint8_t, 4> Debug4dUint8Test( |
| 313 | armnn::IWorkloadFactory& workloadFactory, |
| 314 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 315 | { |
| 316 | return Debug4dTest<armnn::DataType::QuantisedAsymm8>(workloadFactory, memoryManager); |
| 317 | } |
| 318 | |
| 319 | LayerTestResult<uint8_t, 3> Debug3dUint8Test( |
| 320 | armnn::IWorkloadFactory& workloadFactory, |
| 321 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 322 | { |
| 323 | return Debug3dTest<armnn::DataType::QuantisedAsymm8>(workloadFactory, memoryManager); |
| 324 | } |
| 325 | |
| 326 | LayerTestResult<uint8_t, 2> Debug2dUint8Test( |
| 327 | armnn::IWorkloadFactory& workloadFactory, |
| 328 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 329 | { |
| 330 | return Debug2dTest<armnn::DataType::QuantisedAsymm8>(workloadFactory, memoryManager); |
| 331 | } |
| 332 | |
| 333 | LayerTestResult<uint8_t, 1> Debug1dUint8Test( |
| 334 | armnn::IWorkloadFactory& workloadFactory, |
| 335 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 336 | { |
| 337 | return Debug1dTest<armnn::DataType::QuantisedAsymm8>(workloadFactory, memoryManager); |
| 338 | } |
| 339 | |
| 340 | LayerTestResult<int16_t, 4> Debug4dInt16Test( |
| 341 | armnn::IWorkloadFactory& workloadFactory, |
| 342 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 343 | { |
| 344 | return Debug4dTest<armnn::DataType::QuantisedSymm16>(workloadFactory, memoryManager); |
| 345 | } |
| 346 | |
| 347 | LayerTestResult<int16_t, 3> Debug3dInt16Test( |
| 348 | armnn::IWorkloadFactory& workloadFactory, |
| 349 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 350 | { |
| 351 | return Debug3dTest<armnn::DataType::QuantisedSymm16>(workloadFactory, memoryManager); |
| 352 | } |
| 353 | |
| 354 | LayerTestResult<int16_t, 2> Debug2dInt16Test( |
| 355 | armnn::IWorkloadFactory& workloadFactory, |
| 356 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 357 | { |
| 358 | return Debug2dTest<armnn::DataType::QuantisedSymm16>(workloadFactory, memoryManager); |
| 359 | } |
| 360 | |
| 361 | LayerTestResult<int16_t, 1> Debug1dInt16Test( |
| 362 | armnn::IWorkloadFactory& workloadFactory, |
| 363 | const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager) |
| 364 | { |
| 365 | return Debug1dTest<armnn::DataType::QuantisedSymm16>(workloadFactory, memoryManager); |
| 366 | } |