blob: f9d09754b0fb0ec3c7ea8739285942fa42d781b1 [file] [log] [blame]
Cathal Corbettbd18eab2022-11-15 12:56:16 +00001//
2// Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
Matthew Sloyanc5fe6e72022-11-25 16:10:00 +00008#include "TosaOperatorUtils.hpp"
9
Cathal Corbettbd18eab2022-11-15 12:56:16 +000010#include <Layer.hpp>
11
12#include <tosa_serialization_handler.h>
Cathal Corbettbd18eab2022-11-15 12:56:16 +000013
14using namespace armnn;
15using namespace tosa;
16
Matthew Sloyanc5fe6e72022-11-25 16:10:00 +000017TosaSerializationBasicBlock* ConvertAvgPool2DIgnoreValueToTosaOperator(const Layer* layer,
18 const std::vector<const TensorInfo*>& inputs,
Cathal Corbettbd18eab2022-11-15 12:56:16 +000019 const std::vector<const TensorInfo*>& outputs,
Cathal Corbettbd18eab2022-11-15 12:56:16 +000020 const Pooling2dDescriptor* poolDescriptor);