ArmNN
 23.08
ElementwiseBinaryOperator.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "TosaOperatorUtils.hpp"
9 
10 #include <Layer.hpp>
11 
12 #include <tosa_serialization_handler.h>
13 
14 using namespace armnn;
15 using namespace tosa;
16 
17 TosaSerializationBasicBlock* ConvertElementwiseBinaryToTosaOperator(const Layer* layer,
18  const LayerType type,
19  const std::vector<const TensorInfo*>& inputs,
20  const std::vector<const TensorInfo*>& outputs);
ConvertElementwiseBinaryToTosaOperator
TosaSerializationBasicBlock * ConvertElementwiseBinaryToTosaOperator(const Layer *layer, const LayerType type, const std::vector< const TensorInfo * > &inputs, const std::vector< const TensorInfo * > &outputs)
Definition: ElementwiseBinaryOperator.cpp:8
armnn::Layer
Definition: Layer.hpp:230
TosaOperatorUtils.hpp
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
Layer.hpp
armnn::LayerType
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below.
Definition: Types.hpp:483