Skip to content

Print the actual and expected attribute types in checker #5762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

justinchuby
Copy link
Member

Description

Print the actual and expected attribute types in checker when there is a mismatched attribute type to help debugging.

Motivation and Context

pytorch/pytorch#112831

@justinchuby justinchuby requested a review from a team as a code owner November 17, 2023 19:07
@justinchuby justinchuby added the module: checker onnx.checker label Nov 17, 2023
Print the actual and expected attribute types in checker when there is a mismatched attribute type to help debugging.

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b60f694) 56.33% compared to head (834fbd0) 56.33%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5762   +/-   ##
=======================================
  Coverage   56.33%   56.33%           
=======================================
  Files         503      503           
  Lines       29626    29626           
  Branches     4436     4436           
=======================================
  Hits        16691    16691           
  Misses      12120    12120           
  Partials      815      815           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@justinchuby justinchuby added this pull request to the merge queue Nov 27, 2023
Merged via the queue into main with commit 5be7f31 Nov 27, 2023
@justinchuby justinchuby deleted the justinchu/attr-msg branch November 27, 2023 22:17
linshokaku pushed a commit to linshokaku/onnx that referenced this pull request Oct 2, 2024
### Description

Print the actual and expected attribute types in checker when there is a
mismatched attribute type to help debugging.

### Motivation and Context

pytorch/pytorch#112831

---------

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Linsho Kaku <linsho@preferred.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: checker onnx.checker
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants