diff options
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); } } } |