Nikhil Raj | 9a33946 | 2022-12-05 11:24:35 +0000 | [diff] [blame] | 1 | // |
Teresa Charlin | ce65588 | 2023-11-21 15:44:13 +0000 | [diff] [blame] | 2 | // Copyright © 2022-2023 Arm Ltd and Contributors. All rights reserved. |
Nikhil Raj | 9a33946 | 2022-12-05 11:24:35 +0000 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include "TosaOperatorUtils.hpp" |
| 9 | |
Nikhil Raj | 9a33946 | 2022-12-05 11:24:35 +0000 | [diff] [blame] | 10 | using namespace armnn; |
| 11 | using namespace tosa; |
| 12 | |
| 13 | TosaSerializationBasicBlock* ConvertElementwiseBinaryToTosaOperator(const Layer* layer, |
| 14 | const LayerType type, |
| 15 | const std::vector<const TensorInfo*>& inputs, |
Tianle Cheng | 7790dc6 | 2023-12-12 13:52:22 +0000 | [diff] [blame^] | 16 | const std::vector<const TensorInfo*>& outputs, |
| 17 | const ElementwiseBinaryDescriptor* |
| 18 | descriptor = nullptr); |