diff options
author | Chunseok Lee <chunseok.lee@samsung.com> | 2021-04-20 18:01:41 +0900 |
---|---|---|
committer | Chunseok Lee <chunseok.lee@samsung.com> | 2021-04-20 18:01:41 +0900 |
commit | 589bb1db6db6784efe21b3fbbfbfdb79aaa5f14e (patch) | |
tree | 47a2b23ce4220e3a4150c8b12ed941555272fb0c /compiler/mir-interpreter/src/ops/Gather.cpp | |
parent | 62529acabbafce7730601ed01d5709d7bc0d378a (diff) | |
download | nnfw-589bb1db6db6784efe21b3fbbfbfdb79aaa5f14e.tar.gz nnfw-589bb1db6db6784efe21b3fbbfbfdb79aaa5f14e.tar.bz2 nnfw-589bb1db6db6784efe21b3fbbfbfdb79aaa5f14e.zip |
Imported Upstream version 1.15.0upstream/1.15.0submit/tizen/20210427.093759submit/tizen/20210423.055448submit/tizen/20210422.015846submit/tizen/20210421.062230accepted/tizen/unified/20210428.040443
Diffstat (limited to 'compiler/mir-interpreter/src/ops/Gather.cpp')
-rw-r--r-- | compiler/mir-interpreter/src/ops/Gather.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/mir-interpreter/src/ops/Gather.cpp b/compiler/mir-interpreter/src/ops/Gather.cpp index 4328c26b2..11bffd411 100644 --- a/compiler/mir-interpreter/src/ops/Gather.cpp +++ b/compiler/mir-interpreter/src/ops/Gather.cpp @@ -64,7 +64,7 @@ void GatherImpl<T, IndicesT>::run(const TensorVariant &datav, const TensorVarian for (int32_t inner = 0; inner < inner_size; inner++) { output.atOffset((outer * num_indices + i) * inner_size + inner) = - data.atOffset((outer * axis_size + index) * inner_size + inner); + data.atOffset((outer * axis_size + index) * inner_size + inner); } } } |