| // |
| // Copyright © 2017 Arm Ltd. All rights reserved. |
| // SPDX-License-Identifier: MIT |
| // |
| #pragma once |
| |
| #include "LayerWithParameters.hpp" |
| |
| namespace armnn |
| { |
| |
| class ActivationLayer : public LayerWithParameters<ActivationDescriptor> |
| { |
| public: |
| virtual std::unique_ptr<IWorkload> CreateWorkload(const Graph& graph, |
| const IWorkloadFactory& factory) const override; |
| |
| ActivationLayer* Clone(Graph& graph) const override; |
| |
| void ValidateTensorShapesFromInputs() override; |
| |
| protected: |
| ActivationLayer(const ActivationDescriptor ¶m, const char* name); |
| ~ActivationLayer() = default; |
| }; |
| |
| } // namespace |