From 3537c2ca7ebf31c1673b9ec2bb0c17b0406bbae0 Mon Sep 17 00:00:00 2001 From: surmeh01 Date: Fri, 18 May 2018 16:31:43 +0100 Subject: Release 18.05 --- src/armnn/layers/DepthwiseConvolution2dLayer.hpp | 32 ++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/armnn/layers/DepthwiseConvolution2dLayer.hpp (limited to 'src/armnn/layers/DepthwiseConvolution2dLayer.hpp') diff --git a/src/armnn/layers/DepthwiseConvolution2dLayer.hpp b/src/armnn/layers/DepthwiseConvolution2dLayer.hpp new file mode 100644 index 0000000000..60691bf73c --- /dev/null +++ b/src/armnn/layers/DepthwiseConvolution2dLayer.hpp @@ -0,0 +1,32 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// See LICENSE file in the project root for full license information. +// +#pragma once + +#include "LayerWithParameters.hpp" + +namespace armnn +{ + +class ScopedCpuTensorHandle; + +class DepthwiseConvolution2dLayer : public LayerWithParameters +{ +public: + std::unique_ptr m_Weight; + std::unique_ptr m_Bias; + + virtual std::unique_ptr CreateWorkload(const Graph& graph, + const IWorkloadFactory& factory) const override; + + DepthwiseConvolution2dLayer* Clone(Graph& graph) const override; + + void ValidateTensorShapesFromInputs() override; + +protected: + DepthwiseConvolution2dLayer(const DepthwiseConvolution2dDescriptor& param, const char* name); + ~DepthwiseConvolution2dLayer() = default; +}; + +} // namespace -- cgit v1.2.1