ArmNN
 24.02
ActivationOperator.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2024 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <Layer.hpp>
9 
10 #include <tosa_serialization_handler.h>
11 
12 #include "TosaOperatorUtils.hpp"
13 
14 using namespace armnn;
15 using namespace tosa;
16 
17 TosaSerializationBasicBlock* ConvertActivationToTosaOperator(const Layer* layer,
18  const std::vector<const TensorInfo*>& inputs,
19  const std::vector<const TensorInfo*>& outputs,
20  const ActivationDescriptor* activationDescriptor);
armnn::ActivationDescriptor
An ActivationDescriptor for the ActivationLayer.
Definition: Descriptors.hpp:36
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
ConvertActivationToTosaOperator
TosaSerializationBasicBlock * ConvertActivationToTosaOperator(const Layer *layer, const std::vector< const TensorInfo * > &inputs, const std::vector< const TensorInfo * > &outputs, const ActivationDescriptor *activationDescriptor)
Definition: ActivationOperator.cpp:17