aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/NEON/functions/NEBatchNormalizationLayer.cpp
diff options
context:
space:
mode:
authorIoan-Cristian Szabo <ioan-cristian.szabo@arm.com>2017-11-27 16:31:10 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:41:58 +0000
commit303be90ee1f03f75309b421297ba16428ea98ea5 (patch)
tree132ea8efd1a8fc40552f2361bdf72fb47d2ece3d /src/runtime/NEON/functions/NEBatchNormalizationLayer.cpp
parent236bfe7033a313ab98ff436d85f38a58b0738ed1 (diff)
downloadComputeLibrary-303be90ee1f03f75309b421297ba16428ea98ea5.tar.gz
COMPMID-617: Add validate support for NEON BatchNormalizationLayer.
Change-Id: I037ec6df7eee06bdd1381e908677803426fa614c Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/110788 Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/runtime/NEON/functions/NEBatchNormalizationLayer.cpp')
-rw-r--r--src/runtime/NEON/functions/NEBatchNormalizationLayer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/NEON/functions/NEBatchNormalizationLayer.cpp b/src/runtime/NEON/functions/NEBatchNormalizationLayer.cpp
index ef79b02048..cfab12c33b 100644
--- a/src/runtime/NEON/functions/NEBatchNormalizationLayer.cpp
+++ b/src/runtime/NEON/functions/NEBatchNormalizationLayer.cpp
@@ -43,6 +43,12 @@ void NEBatchNormalizationLayer::configure(ITensor *input, ITensor *output, const
_norm_kernel.configure(input, output, mean, var, beta, gamma, epsilon);
}
+Error NEBatchNormalizationLayer::validate(const ITensorInfo *input, const ITensorInfo *output, const ITensorInfo *mean, const ITensorInfo *var, const ITensorInfo *beta, const ITensorInfo *gamma,
+ float epsilon)
+{
+ return NEBatchNormalizationLayerKernel::validate(input, output, mean, var, beta, gamma, epsilon);
+}
+
void NEBatchNormalizationLayer::run()
{
NEScheduler::get().schedule(&_norm_kernel, Window::DimY);