Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[quantizer] reduce the number of pad operators #381

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Conversation

mjq2020
Copy link
Contributor

@mjq2020 mjq2020 commented Dec 12, 2024

Optimize the maxpool operator to add pad operators in some situations to avoid increasing the number of operators,Solve #380

@CLAassistant
Copy link

CLAassistant commented Dec 12, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@peterjc123 peterjc123 left a comment

Choose a reason for hiding this comment

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

Thanks.

tinynn/converter/operators/torch/aten.py Outdated Show resolved Hide resolved
@mjq2020 mjq2020 requested a review from peterjc123 December 12, 2024 08:40
Copy link
Collaborator

@peterjc123 peterjc123 left a comment

Choose a reason for hiding this comment

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

The changes look good. BTW, you'll need to sign the CLA before we can take your patch.

@peterjc123 peterjc123 merged commit f897615 into alibaba:main Dec 12, 2024
9 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.

The large core pooling is decomposed into multiple small core pooling and the Padv2 operator is added.
3 participants