Skip to content

Add support for pooling_ncw_sum#2995

Open
mdgrs wants to merge 1 commit into
google:mainfrom
belfortlabs:mdgrs/avgPool1DTris
Open

Add support for pooling_ncw_sum#2995
mdgrs wants to merge 1 commit into
google:mainfrom
belfortlabs:mdgrs/avgPool1DTris

Conversation

@mdgrs
Copy link
Copy Markdown
Collaborator

@mdgrs mdgrs commented May 27, 2026

I play the same trick as in the 2D convolution case and rewrite the pooling operation as a convolution.

While trying to lower a small convolutional network, I also came across some dimensionality mismatch (expand/collapse dims). I have included fixes in this PR, as well as tests.

@mdgrs mdgrs requested review from asraa and j2kun and removed request for asraa May 27, 2026 11:55
Copy link
Copy Markdown
Collaborator

@j2kun j2kun left a comment

Choose a reason for hiding this comment

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

Looks great! Please squash the commits and we'll get it in

@mdgrs mdgrs force-pushed the mdgrs/avgPool1DTris branch from 2c5c841 to 1af5dde Compare May 28, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants