Skip to content

Commit

Permalink
fix wrong param id of Squeeze for modelwriter (#4658)
Browse files Browse the repository at this point in the history
  • Loading branch information
irexyc committed Apr 21, 2023
1 parent 8adf368 commit 9fe843f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/modelwriter.h
Expand Up @@ -2307,7 +2307,7 @@ int ModelWriter::save(const char* parampath, const char* binpath)
fprintf_param_value(" 11=%d", squeeze_d)
fprintf_param_value(" 2=%d", squeeze_c)
{
if (!op->axes.empty()) fprintf_param_int_array(0, op->axes, pp);
if (!op->axes.empty()) fprintf_param_int_array(3, op->axes, pp);
}
}
else if (layer->type == "Threshold")
Expand Down

0 comments on commit 9fe843f

Please sign in to comment.