diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2017-10-20 18:52:20 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 96880cf00707d394938ec7fe31c21c79a2ac3f0c (patch) | |
tree | e7022f32813dd4df943b9e3b9d0948019d9b2af2 /src/core/AccessWindowTranspose.cpp | |
parent | 0a7a8d19d7c172a05402578b1e8ddd8ecb825643 (diff) | |
download | ComputeLibrary-96880cf00707d394938ec7fe31c21c79a2ac3f0c.tar.gz |
COMPMID-640: FullyConnectedLayer failures on both NEON/CL
Change-Id: Idd830cff054114123229c189e423b753b8064146
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/92623
Reviewed-by: Robert Hughes <robert.hughes@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/AccessWindowTranspose.cpp')
-rw-r--r-- | src/core/AccessWindowTranspose.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/AccessWindowTranspose.cpp b/src/core/AccessWindowTranspose.cpp index b1043305b8..4506a0b44c 100644 --- a/src/core/AccessWindowTranspose.cpp +++ b/src/core/AccessWindowTranspose.cpp @@ -201,8 +201,8 @@ bool AccessWindowTranspose::update_padding_if_needed(const Window &window) const PaddingSize padding; padding.left = std::max(0, -min_x); padding.right = std::max<int>(0, max_x - shape[0]); - padding.top = shape.num_dimensions() == 1 ? 0 : std::max(0, -min_y); - padding.bottom = shape.num_dimensions() == 1 ? 0 : std::max<int>(0, max_y - shape[1]); + padding.top = std::max(0, -min_y); + padding.bottom = std::max<int>(0, max_y - shape[1]); // Update strides in tensor info return _info->extend_padding(padding); |