diff options
Diffstat (limited to 'src/armnn/layers/DebugLayer.hpp')
-rw-r--r-- | src/armnn/layers/DebugLayer.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/armnn/layers/DebugLayer.hpp b/src/armnn/layers/DebugLayer.hpp new file mode 100644 index 0000000000..39ef9c7ae0 --- /dev/null +++ b/src/armnn/layers/DebugLayer.hpp @@ -0,0 +1,27 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// +#pragma once + +#include <Layer.hpp> + +namespace armnn +{ + +class DebugLayer : public Layer +{ +public: + virtual std::unique_ptr<IWorkload> CreateWorkload(const Graph& graph, + const IWorkloadFactory& factory) const override; + + DebugLayer* Clone(Graph& graph) const override; + + void ValidateTensorShapesFromInputs() override; + +protected: + DebugLayer(const char* name); + ~DebugLayer() = default; +}; + +} // namespace armnn |