Skip to content

Conversation

@lgeiger
Copy link
Member

@lgeiger lgeiger commented Jun 8, 2021

What do these changes do?

This PR adds constant folders for lq.quantize and lq.dequantize ops.

This PR also includes a few minor changes from our internal fork to bring them inline with each other.

How Has This Been Tested?

Added MLIR Filecheck

Co-Authored-By: Tom Bannink Tombana@users.noreply.github.com

Co-Authored-By: Tom Bannink <Tombana@users.noreply.github.com>
@lgeiger lgeiger added the internal-improvement Internal Improvements and Maintenance label Jun 8, 2021
@lgeiger lgeiger requested a review from a team June 8, 2021 14:37
Copy link
Collaborator

@Tombana Tombana left a comment

Choose a reason for hiding this comment

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

Looks good to me, but maybe somebody else should also review it.

drawing

@CNugteren CNugteren self-requested a review June 8, 2021 15:23
Copy link
Contributor

@CNugteren CNugteren left a comment

Choose a reason for hiding this comment

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

Just a small comment, otherwise I approve. The name of the PR was a bit confusing to me though, I was going through the code to look for the place where you added a folder or moved something from one folder to another, but then it turns out it was about folding instead of folders (as in paths) 😕 😉

@lgeiger lgeiger changed the title Add folders for lq.quantize and lq.dequantize Add constant folding for lq.quantize and lq.dequantize Jun 8, 2021
@lgeiger
Copy link
Member Author

lgeiger commented Jun 8, 2021

The name of the PR was a bit confusing to me though, I was going through the code to look for the place where you added a folder or moved something from one folder to another, but then it turns out it was about folding instead of folders (as in paths)

Good point, changed the title.

@lgeiger lgeiger requested a review from CNugteren June 8, 2021 15:44
@lgeiger lgeiger merged commit 3e1b148 into main Jun 8, 2021
@lgeiger lgeiger deleted the quantize-folder branch June 8, 2021 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal-improvement Internal Improvements and Maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants