Browse Source

fix wrong param id of Squeeze for modelwriter (#4658)

tags/20230517
Chen Xin GitHub 3 years ago
parent
commit
9fe843fa39
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/modelwriter.h

+ 1
- 1
tools/modelwriter.h View File

@@ -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")


Loading…
Cancel
Save