diff options
author | chunseoklee <chunseoklee@naver.com> | 2020-06-30 18:45:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 18:45:02 +0900 |
commit | a60038030cf91fc2399cb8e11e19717b32539c4f (patch) | |
tree | 07e496390735b22442b60e216726b38fc1eaca84 | |
parent | b181354963094c667666b1e7071bbc1d08356a29 (diff) | |
download | nnfw-a60038030cf91fc2399cb8e11e19717b32539c4f.tar.gz nnfw-a60038030cf91fc2399cb8e11e19717b32539c4f.tar.bz2 nnfw-a60038030cf91fc2399cb8e11e19717b32539c4f.zip |
Fix wrong stride value is passed for pooling operation (#2636) (#2727)
- This commit fixes wrong stride value is passed for pooling operation
- Stride height and width values are swapped at base_loader
ONE-DCO-1.0-Signed-off-by: JiHwan Yeo <jihwan.yeo@samsung.com>
Co-authored-by: JiHwan Yeo <jihwan.yeo@samsung.com>
-rw-r--r-- | runtime/onert/frontend/base_loader/include/base_loader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/onert/frontend/base_loader/include/base_loader.h b/runtime/onert/frontend/base_loader/include/base_loader.h index 7cc72ad86..34d778c08 100644 --- a/runtime/onert/frontend/base_loader/include/base_loader.h +++ b/runtime/onert/frontend/base_loader/include/base_loader.h @@ -406,8 +406,8 @@ void BaseLoader<LoaderDomain, SpecificLoader>::loadStridesAndPaddings(Param &par const OptionsType *options) { // Strides - param.stride.vertical = options->stride_w(); - param.stride.horizontal = options->stride_h(); + param.stride.vertical = options->stride_h(); + param.stride.horizontal = options->stride_w(); // Paddings if (options->padding() == Padding::Padding_SAME) param.padding.type = ir::PaddingType::SAME; |