Skip to content

[DLight] Fix a corner case for reduction rule#16848

Merged
Hzfengsy merged 1 commit intoapache:mainfrom
Hzfengsy:dlight_minor_fix
Apr 5, 2024
Merged

[DLight] Fix a corner case for reduction rule#16848
Hzfengsy merged 1 commit intoapache:mainfrom
Hzfengsy:dlight_minor_fix

Conversation

@Hzfengsy
Copy link
Copy Markdown
Member

@Hzfengsy Hzfengsy commented Apr 4, 2024

The current rule will fail when the output shape is only one element, because of missing preserve_unit_loops. This PR fixes it and adds a test case.

The current rule will fail when the output shape is only one element,
because of missing `preserve_unit_loops`. This PR fixes it and adding a
test case.
Copy link
Copy Markdown
Contributor

@echuraev echuraev left a comment

Choose a reason for hiding this comment

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

LGTM!

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