Skip to content

Commit

Permalink
asan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lakhinderwalia committed Jan 22, 2025
1 parent 59f6eab commit 27cd210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onnx/parse_resize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ struct parse_resize : op_parser<parse_resize>
auto ins_ind = info.add_literal(literal(ind_s, ind));
auto data = info.add_instruction(make_op("gather", {{"axis", 0}}), rsp, ins_ind);

std::size_t lens_idx = out_lens.size();
std::size_t lens_idx = out_lens.size() - 1;
for(std::size_t i = 0; i < r_dim; lens_idx--)
{
if(in_lens[lens_idx] == out_lens[lens_idx])
Expand Down

0 comments on commit 27cd210

Please sign in to comment.