Skip to content

Conversation

@Shukla-Gaurav
Copy link
Collaborator

This commit adds lowering of aten.Squeeze op into
linalg.TensorCollapseShape op. The size 1 dynamic dimensions are not
handled as a part of this commit.

Signed-Off-by: Gaurav Shukla gaurav@nod-labs.com

@Shukla-Gaurav Shukla-Gaurav force-pushed the gaurav/lower_squeeze branch 2 times, most recently from 1c2c2dd to 8b20c40 Compare November 29, 2021 13:08
Copy link
Contributor

@cathyzhyi cathyzhyi 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!

@Shukla-Gaurav Shukla-Gaurav force-pushed the gaurav/lower_squeeze branch 3 times, most recently from 5779b4a to d408934 Compare November 30, 2021 17:14
This commit adds lowering of `aten.Squeeze` op into
`linalg.TensorCollapseShape` op. The size 1 dynamic dimensions are not
handled as a part of this commit.

Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com>
@Shukla-Gaurav Shukla-Gaurav merged commit 73b27b3 into llvm:main Nov 30, 2021
qedawkins pushed a commit to nod-ai/torch-mlir that referenced this pull request Oct 3, 2022
…ry pools (llvm#441)

* Reorganize main function.

* Follow review comments.

* Emit constants are globals in Krnl and LLVM dialects.

* Remove mutex. Use pass-local variable for map.

* Format.

Co-authored-by: Alexandre Eichenberger <alexe@us.ibm.com>
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