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