Skip to content

[tools/onnx-subgraph] add onnx process functions implementation#15056

Merged
seanshpark merged 2 commits into
Samsung:masterfrom
chenyx113:onnx-subgraph-0403
Apr 3, 2025
Merged

[tools/onnx-subgraph] add onnx process functions implementation#15056
seanshpark merged 2 commits into
Samsung:masterfrom
chenyx113:onnx-subgraph-0403

Conversation

@chenyx113

Copy link
Copy Markdown
Contributor

related issue: #14534
historical full changes: #14613

add part of onnx process functions implementation, more implementations will be added in next PR

ONE-DCO-1.0-Signed-off-by: Youxin Chen yx113.chen@samsung.com

add part of onnx process functions implementation, more implementations will be added
in next PR

ONE-DCO-1.0-Signed-off-by: Youxin Chen <yx113.chen@samsung.com>
@chenyx113 chenyx113 marked this pull request as ready for review April 3, 2025 02:05
Comment thread tools/onnx_subgraph/src/lib/graph.cpp Outdated
if (!input.is_open())
{
std::cout << "Error: Failed to open file: " << path << std::endl;
exit(0);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe ?

Suggested change
exit(0);
exit(-1);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it is better that return -1 for exception case, thank you

@seanshpark seanshpark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seanshpark seanshpark merged commit 872910c into Samsung:master Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants