We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
what should i do if i want to support some layer in this repo and recompile
The text was updated successfully, but these errors were encountered:
You should add a new elif condition here to convert the onnx node to pytorch function: https://github.com/Talmaj/onnx2pytorch/blob/v0.5.0/onnx2pytorch/convert/operations.py
elif
Sometimes it's as easy to add a pure pytorch function, but sometimes they differ in implementation and default parameters. In those cases you have to create a new operation under: https://github.com/Talmaj/onnx2pytorch/tree/v0.5.0/onnx2pytorch/operations
You should also include a test for it, best to look at onnx's tests: https://github.com/onnx/onnx/tree/main/onnx/backend/test/case/node and example of how that was done for ReduceL2:
Sorry, something went wrong.
No branches or pull requests
what should i do if i want to support some layer in this repo and recompile
The text was updated successfully, but these errors were encountered: