diff options
author | Conor Kennedy <conor.kennedy@arm.com> | 2018-11-14 15:28:28 +0000 |
---|---|---|
committer | Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> | 2018-11-15 11:23:08 +0000 |
commit | 430b5d824a17ddfb31bb29c18407e45e0def958c (patch) | |
tree | 529e92404ae0df12c3f92da803637591f3bba7ee /src/armnn/layers/StridedSliceLayer.hpp | |
parent | 5caf907efc31e774f8afde54b17a5596477772f6 (diff) | |
download | armnn-430b5d824a17ddfb31bb29c18407e45e0def958c.tar.gz |
IVGCVSW-2086: Add StridedSlice layer & corresponding no-op factory implementations
Change-Id: I906dcb8b4c9b491bf3a661f208c09d0ea1c0fa35
Diffstat (limited to 'src/armnn/layers/StridedSliceLayer.hpp')
-rw-r--r-- | src/armnn/layers/StridedSliceLayer.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/armnn/layers/StridedSliceLayer.hpp b/src/armnn/layers/StridedSliceLayer.hpp new file mode 100644 index 0000000000..33a44243a5 --- /dev/null +++ b/src/armnn/layers/StridedSliceLayer.hpp @@ -0,0 +1,27 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// +#pragma once + +#include "LayerWithParameters.hpp" + +namespace armnn +{ + +class StridedSliceLayer : public LayerWithParameters<StridedSliceDescriptor> +{ +public: + virtual std::unique_ptr<IWorkload> CreateWorkload(const Graph& graph, + const IWorkloadFactory& factory) const override; + + StridedSliceLayer* Clone(Graph& graph) const override; + + void ValidateTensorShapesFromInputs() override; + +protected: + StridedSliceLayer(const StridedSliceDescriptor& param, const char* name); + ~StridedSliceLayer() = default; +}; + +} // namespace
\ No newline at end of file |