diff options
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 |