diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2017-11-29 17:33:59 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:41:58 +0000 |
commit | 2995f5b6449f041d93a0e0cfb9f516ba957e3c40 (patch) | |
tree | c8ec78856f5d4a43838965b2b29c0746a7bb479b /src/core/CL/kernels/CLBatchNormalizationLayerKernel.cpp | |
parent | 0162436565106e835e04c47d4a4e29a02ec1e351 (diff) | |
download | ComputeLibrary-2995f5b6449f041d93a0e0cfb9f516ba957e3c40.tar.gz |
COMPMID-617 Add validation window to CLActivationLayer
Change-Id: I56e0655a2f3448691cfd7bef6911d7959da12fdd
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/111186
Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLBatchNormalizationLayerKernel.cpp')
-rw-r--r-- | src/core/CL/kernels/CLBatchNormalizationLayerKernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/kernels/CLBatchNormalizationLayerKernel.cpp b/src/core/CL/kernels/CLBatchNormalizationLayerKernel.cpp index e8882b9daf..7426cad7ba 100644 --- a/src/core/CL/kernels/CLBatchNormalizationLayerKernel.cpp +++ b/src/core/CL/kernels/CLBatchNormalizationLayerKernel.cpp @@ -69,7 +69,7 @@ std::pair<Error, Window> validate_and_configure_window(ITensorInfo *input, ITens Window win = calculate_max_window(*input, Steps(num_elems_processed_per_iteration)); AccessWindowHorizontal input_access(input, 0, num_elems_processed_per_iteration); - bool window_changed; + bool window_changed = false; if(output != nullptr) { AccessWindowHorizontal output_access(output, 0, num_elems_processed_per_iteration); |