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

[CMSIS-NN][Perf] Converted Relay Conv2D into CMSIS-NN Depthwise #12006

Merged
merged 3 commits into from
Jul 11, 2022

Conversation

ashutosh-arm
Copy link
Contributor

@ashutosh-arm ashutosh-arm commented Jul 4, 2022

This commit converts Relay Conv2D into depthwise
convolution. This is done only when total number
of output channels can be derived using the depth
multiplier. The tests include special case of output
channels=1.

cc @areusch

Change-Id: I49cd262ce057b2a314f56aadca9b12995a519e88
Change-Id: Ieace94bd0f29d92660bd8e3a2523c1bf42b6afaa
@github-actions github-actions bot requested a review from areusch July 5, 2022 09:41
@ashutosh-arm
Copy link
Contributor Author

cc @manupa-arm @Mousius @grant-arm for code review.

src/relay/backend/contrib/cmsisnn/relay_to_tir.cc Outdated Show resolved Hide resolved
src/relay/backend/contrib/cmsisnn/utils.cc Outdated Show resolved Hide resolved
src/relay/backend/contrib/cmsisnn/utils.cc Outdated Show resolved Hide resolved
…N API

Change-Id: Iec889ea4d2989617c085803aa9e72eb3296f2d35
Copy link
Member

@Mousius Mousius left a comment

Choose a reason for hiding this comment

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

This is cool @ashutosh-arm 😸

@Mousius Mousius merged commit b4c1cc0 into apache:main Jul 11, 2022
@ashutosh-arm ashutosh-arm deleted the replace_conv2d_with_depthwise branch August 31, 2022 11:31
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