-
Notifications
You must be signed in to change notification settings - Fork 57
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
A couple of optimizations and refinements #1947
Conversation
❌ 16 Tests Failed:
View the full list of 3 ❄️ flaky tests
To view more test analytics, go to the Test Analytics Dashboard |
if len(node.outputs) == 1: | ||
return output | ||
else: | ||
true_tensor = ir.tensor([True]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need to be 1d? Or is 0d better? No big deal though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logically, 0d would be better. But, onnx type/shape inference expects it to be a 1D tensor (probably a historical mistake).
Extract the independent optimization/refinements from the fusion PR as a separate PR, ready to be reviewed/merged. (The fusion work is still WIP.)