diff options
author | Mohamed Nour Abouelseoud <mohamednour.abouelseoud@arm.com> | 2018-09-24 13:30:09 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-10 16:16:57 +0100 |
commit | 5662c206864df4121eea29c541c24c0f62113809 (patch) | |
tree | f80aa8a094dc3ede6d2c7e4a905ac2f278199268 /src/armnn/layers/PadLayer.hpp | |
parent | 351d13d0b5fa698b72130012b2f069d30b911cb3 (diff) | |
download | armnn-5662c206864df4121eea29c541c24c0f62113809.tar.gz |
IVGCVSW-1881 Add PadLayer to ArmNN
Change-Id: Ib70883a20fa7b82bfb090aa98cc51a6d645b5722
Diffstat (limited to 'src/armnn/layers/PadLayer.hpp')
-rw-r--r-- | src/armnn/layers/PadLayer.hpp | 29 |
1 files changed, 29 insertions, 0 deletions
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<PadDescriptor> +{ +public: + virtual std::unique_ptr<IWorkload> 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 |