From 5662c206864df4121eea29c541c24c0f62113809 Mon Sep 17 00:00:00 2001 From: Mohamed Nour Abouelseoud Date: Mon, 24 Sep 2018 13:30:09 +0100 Subject: IVGCVSW-1881 Add PadLayer to ArmNN Change-Id: Ib70883a20fa7b82bfb090aa98cc51a6d645b5722 --- src/armnn/layers/PadLayer.hpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/armnn/layers/PadLayer.hpp (limited to 'src/armnn/layers/PadLayer.hpp') diff --git a/src/armnn/layers/PadLayer.hpp b/src/armnn/layers/PadLayer.hpp new file mode 100644 index 0000000000..e53a90c9de --- /dev/null +++ b/src/armnn/layers/PadLayer.hpp @@ -0,0 +1,29 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +#include "LayerWithParameters.hpp" + +namespace armnn +{ + +class PadLayer : public LayerWithParameters +{ +public: + virtual std::unique_ptr CreateWorkload(const Graph& graph, + const IWorkloadFactory& factory) const override; + + PadLayer* Clone(Graph& graph) const override; + + void ValidateTensorShapesFromInputs() override; + +protected: + PadLayer(const PadDescriptor& param, const char* name); + ~PadLayer() = default; + +}; + +} \ No newline at end of file -- cgit v1.2.1