Skip to content

Commit

Permalink
fix compilation error
Browse files Browse the repository at this point in the history
Signed-off-by: daquexian <[email protected]>
  • Loading branch information
daquexian committed Dec 19, 2023
1 parent 6698bca commit 01eb24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxsim/onnxsim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ onnx::ModelProto _FoldConstant(const onnx::ModelProto& model) {
RunOpAndAddInitializer(model, x);
} catch (const std::exception& e) {
std::cerr << "WARNING: failed to run \"" << x.op_type() <<
"\" op (name is \"" << x.name << "\"), skip..." << std::endl;
"\" op (name is \"" << x.name() << "\"), skip..." << std::endl;
non_const_nodes.push_back(x);
}
}
Expand Down

0 comments on commit 01eb24b

Please sign in to comment.