From 53a6ec5944132000e2c6779c04d722b3b2d2501c Mon Sep 17 00:00:00 2001 From: Xinghang Zhou Date: Tue, 14 Nov 2017 15:14:25 +0800 Subject: APPBROWSER-304,342: Add exclude padding support for OpenGL ES implementation and implement MaxPool operators Change-Id: Ie6ba36ff114feec2a21739dba11bbb60b76af443 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/113697 Tested-by: Jenkins Reviewed-by: Stephen Li Reviewed-by: Pablo Tello Reviewed-by: Anthony Barbier --- src/runtime/GLES_COMPUTE/functions/GCPoolingLayer.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/runtime/GLES_COMPUTE') diff --git a/src/runtime/GLES_COMPUTE/functions/GCPoolingLayer.cpp b/src/runtime/GLES_COMPUTE/functions/GCPoolingLayer.cpp index 46a60cddef..ff03effd3f 100644 --- a/src/runtime/GLES_COMPUTE/functions/GCPoolingLayer.cpp +++ b/src/runtime/GLES_COMPUTE/functions/GCPoolingLayer.cpp @@ -23,8 +23,8 @@ */ #include "arm_compute/runtime/GLES_COMPUTE/functions/GCPoolingLayer.h" +#include "arm_compute/core/GLES_COMPUTE/IGCTensor.h" #include "arm_compute/core/GLES_COMPUTE/kernels/GCPoolingLayerKernel.h" -#include "arm_compute/core/PixelValue.h" #include "support/ToolchainSupport.h" using namespace arm_compute; @@ -40,3 +40,8 @@ void GCPoolingLayer::configure(IGCTensor *input, IGCTensor *output, const Poolin BorderMode border_mode = (PoolingType::MAX == pool_info.pool_type()) ? BorderMode::REPLICATE : BorderMode::CONSTANT; _border_handler.configure(input, _kernel->border_size(), border_mode, PixelValue(0.0f)); } + +Status GCPoolingLayer::validate(const ITensorInfo *input, const ITensorInfo *output, const PoolingLayerInfo &pool_info) +{ + return GCPoolingLayerKernel::validate(input, output, pool_info); +} \ No newline at end of file -- cgit v1.2.1