aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/SoftmaxLayer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/SoftmaxLayer.hpp')
-rw-r--r--src/armnn/layers/SoftmaxLayer.hpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/armnn/layers/SoftmaxLayer.hpp b/src/armnn/layers/SoftmaxLayer.hpp
new file mode 100644
index 0000000000..ff60a08a91
--- /dev/null
+++ b/src/armnn/layers/SoftmaxLayer.hpp
@@ -0,0 +1,27 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// See LICENSE file in the project root for full license information.
+//
+#pragma once
+
+#include "LayerWithParameters.hpp"
+
+namespace armnn
+{
+
+class Pooling2dLayer : public LayerWithParameters<Pooling2dDescriptor>
+{
+public:
+ virtual std::unique_ptr<IWorkload> CreateWorkload(const Graph& graph,
+ const IWorkloadFactory& factory) const override;
+
+ Pooling2dLayer* Clone(Graph& graph) const override;
+
+ void ValidateTensorShapesFromInputs() override;
+
+protected:
+ Pooling2dLayer(const Pooling2dDescriptor& param, const char* name);
+ ~Pooling2dLayer() = default;
+};
+
+} // namespace