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

Add unsqueeze calc offline pass to ARM target for Paddlespeech melgan Conversion failed #9587

Conversation

lishicheng1996
Copy link
Contributor

@lishicheng1996 lishicheng1996 commented Oct 25, 2022

opt工具ARM target下转换Paddle speech melgan模型失败:sparse_conv_detect_pass在转换时会读weight tensor中的数据,读到空指针,这个输入依赖于上一个结点的输出。
解决:引入unsqueeze calc offline pass,预先折叠常量的unsqueeze计算得到卷积的weights。

@paddle-bot
Copy link

paddle-bot bot commented Oct 25, 2022

Thanks for your contribution!

@CLAassistant
Copy link

CLAassistant commented Oct 25, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@liyancas liyancas left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@hong19860320 hong19860320 left a comment

Choose a reason for hiding this comment

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

LGTM

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.

5 participants