diff --git a/src/Native/include/nncase/ntt/kernels/gather.h b/src/Native/include/nncase/ntt/kernels/gather.h index fb6c0ce62..95df475fb 100644 --- a/src/Native/include/nncase/ntt/kernels/gather.h +++ b/src/Native/include/nncase/ntt/kernels/gather.h @@ -54,8 +54,8 @@ void gather(const TA &input, const TB &indices, TC &&output) noexcept { indices.elements().end()); auto result = detail::continuous_dims_groups(input_v); - constexpr auto domain_before_axis = slice_fixed_dims(input.shape()); - constexpr auto domain_after_axis = + auto domain_before_axis = slice_fixed_dims(input.shape()); + auto domain_after_axis = slice_fixed_dims(input.shape()); auto addr_output =