Cathal Corbett | bd18eab | 2022-11-15 12:56:16 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2022 Arm Ltd and Contributors. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
Matthew Sloyan | c5fe6e7 | 2022-11-25 16:10:00 +0000 | [diff] [blame^] | 8 | #include "TosaOperatorUtils.hpp" |
| 9 | |
Cathal Corbett | bd18eab | 2022-11-15 12:56:16 +0000 | [diff] [blame] | 10 | #include <Layer.hpp> |
| 11 | |
| 12 | #include <tosa_serialization_handler.h> |
Cathal Corbett | bd18eab | 2022-11-15 12:56:16 +0000 | [diff] [blame] | 13 | |
| 14 | using namespace armnn; |
| 15 | using namespace tosa; |
| 16 | |
Matthew Sloyan | c5fe6e7 | 2022-11-25 16:10:00 +0000 | [diff] [blame^] | 17 | TosaSerializationBasicBlock* ConvertPooling2DToTosaOperator(const Layer* layer, |
| 18 | const std::vector<const TensorInfo*>& inputs, |
Cathal Corbett | bd18eab | 2022-11-15 12:56:16 +0000 | [diff] [blame] | 19 | const std::vector<const TensorInfo*>& outputs, |
Cathal Corbett | bd18eab | 2022-11-15 12:56:16 +0000 | [diff] [blame] | 20 | const Pooling2dDescriptor* poolDescriptor); |