From 7784c837afd5844fb6dc4d166ff253d983abfd2d Mon Sep 17 00:00:00 2001 From: Abe Mbise Date: Thu, 31 May 2018 16:48:41 +0100 Subject: COMPMID-1167: Validation for NEDepthwiseConvolutionLayer Change-Id: I9689e1a0627dc015dd2ce98417e4c97bb55581bb Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/131327 Reviewed-by: Anthony Barbier Tested-by: Jenkins --- .../core/NEON/kernels/NEDepthwiseWeightsReshapeKernel.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arm_compute/core/NEON/kernels/NEDepthwiseWeightsReshapeKernel.h') diff --git a/arm_compute/core/NEON/kernels/NEDepthwiseWeightsReshapeKernel.h b/arm_compute/core/NEON/kernels/NEDepthwiseWeightsReshapeKernel.h index d00e8a46ed..b78684f993 100644 --- a/arm_compute/core/NEON/kernels/NEDepthwiseWeightsReshapeKernel.h +++ b/arm_compute/core/NEON/kernels/NEDepthwiseWeightsReshapeKernel.h @@ -59,6 +59,16 @@ public: */ void configure(const ITensor *input, ITensor *output, const ITensor *biases); + /** Static function to check if given info will lead to a valid configuration of @ref NEDepthwiseWeightsReshapeKernel + * + * @param[in] input The input tensor to convert. 3 lower dimensions represent a single input [width, height, IFM]. Data type supported: QASYMM8, F32. + * @param[in] output The output tensor. Data type supported: same as @p input. + * @param[in] biases (Optional) The input biases to add. Shape [IFM]. Data type supported: same as @p input. + * + * @return a status + */ + static Status validate(const ITensorInfo *input, const ITensorInfo *output, const ITensorInfo *biases); + // Inherited methods overridden: void run(const Window &window, const ThreadInfo &info) override; -- cgit v1.2.1