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

Convert prelu to other five basic operators #2341

Open
salanzewei opened this issue Jun 17, 2024 · 1 comment
Open

Convert prelu to other five basic operators #2341

salanzewei opened this issue Jun 17, 2024 · 1 comment
Labels
pending on user response Waiting for more information or validation from user question An issue, pull request, or discussion needs more information

Comments

@salanzewei
Copy link

Ask a Question

Question

My original model is model.h5,firstly I convert h5 to saved model format, then I conver saved model to onnx use tf2onnx .After this,The prelu op is split into five basic ops. How can I avoid being split?
My tf2onnx version is 1.16.1,the first image is prelu in h5 model, the second image is prelu after tf2onnx convert.

捕获9
image

@salanzewei salanzewei added the question An issue, pull request, or discussion needs more information label Jun 17, 2024
@fatcat-z
Copy link
Collaborator

In general, TF op Prelu will be replaced with ONNX op Prelu directly. No idea why this happened to your model.

Could you please share the model.h5 for a further debug?

@fatcat-z fatcat-z added the pending on user response Waiting for more information or validation from user label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending on user response Waiting for more information or validation from user question An issue, pull request, or discussion needs more information
Projects
None yet
Development

No branches or pull requests

2 participants