Skip to content

Conversation

@Lallapallooza
Copy link
Contributor

Before this patch, the avg_pool2d and avg_pool1d legalizations lacked support for pooling with count_include_pad=True. This patch introduces that support.

@sjarus sjarus requested a review from sahas3 July 16, 2025 06:41
Copy link
Collaborator

@sjarus sjarus left a comment

Choose a reason for hiding this comment

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

Please add an e2e test under projects/pt1/python/torch_mlir_e2e_test/test_suite/pooling.py as well.

@Lallapallooza Lallapallooza marked this pull request as draft July 17, 2025 20:58
@Lallapallooza Lallapallooza force-pushed the tosa_legalize_avgpool branch 2 times, most recently from 2c0cc57 to 79612ae Compare July 17, 2025 21:27
Before this patch, the `avg_pool2d` and `avg_pool1d` legalizations lacked
support for pooling with count_include_pad=True. This patch introduces that support.

Signed-off-by: Vitalii Shutov <vitalii.shutov@arm.com>
Change-Id: I73fa26a58379e2c021929ade81c983ff91c59667
@Lallapallooza Lallapallooza marked this pull request as ready for review November 11, 2025 16:50
@Lallapallooza Lallapallooza requested a review from sahas3 November 11, 2025 16:52
Copy link
Member

@sahas3 sahas3 left a comment

Choose a reason for hiding this comment

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

LG, with some feedback to help readability.

Change-Id: I8a211fa3f0468db1765ce57447a8dd422431067f
@sjarus sjarus merged commit bc657db into llvm:main Nov 17, 2025
3 checks passed
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.

3 participants