aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/GLES_COMPUTE
diff options
context:
space:
mode:
authorXinghang Zhou <xinghang.zhou@arm.com>2017-11-14 15:14:25 +0800
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:42:33 +0000
commit53a6ec5944132000e2c6779c04d722b3b2d2501c (patch)
tree75b147d21a34c4e684864e56b71077a6256a9110 /arm_compute/core/GLES_COMPUTE
parent6e993b5b8ea9c31ac4856b72d969dce704f82396 (diff)
downloadComputeLibrary-53a6ec5944132000e2c6779c04d722b3b2d2501c.tar.gz
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 <bsgcomp@arm.com> Reviewed-by: Stephen Li <stephen.li@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/core/GLES_COMPUTE')
-rw-r--r--arm_compute/core/GLES_COMPUTE/kernels/GCPoolingLayerKernel.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arm_compute/core/GLES_COMPUTE/kernels/GCPoolingLayerKernel.h b/arm_compute/core/GLES_COMPUTE/kernels/GCPoolingLayerKernel.h
index d4921c2092..a0610d0b66 100644
--- a/arm_compute/core/GLES_COMPUTE/kernels/GCPoolingLayerKernel.h
+++ b/arm_compute/core/GLES_COMPUTE/kernels/GCPoolingLayerKernel.h
@@ -26,6 +26,8 @@
#include "arm_compute/core/GLES_COMPUTE/IGCKernel.h"
+#include "arm_compute/core/Error.h"
+
namespace arm_compute
{
class IGCTensor;
@@ -55,6 +57,16 @@ public:
*/
void configure(const IGCTensor *input, IGCTensor *output, const PoolingLayerInfo &pool_info);
+ /** Static function to check if given info will lead to a valid configuration of @ref GCPoolingLayerKernel
+ *
+ * @param[in] input Source tensor info. Data types supported: F16/F32.
+ * @param[in] output Destination tensor info. Data types supported: Same as @p input.
+ * @param[in] pool_info Contains pooling operation information described in @ref PoolingLayerInfo.
+ *
+ * @return a status
+ */
+ static Status validate(const ITensorInfo *input, const ITensorInfo *output, const PoolingLayerInfo &pool_info);
+
// Inherited methods overridden:
void run(const Window &window) override;
BorderSize border_size() const override;