-
Notifications
You must be signed in to change notification settings - Fork 173
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
custom_ops映射使用问题 #1245
Comments
@Jiang-Jia-Jun 这个参数还有在使用吗? |
这个好像没错呀,你这个输入变量名称原本应该是什么呢? |
custom_ops映射我们移除了,这个确实有问题,请问是在哪个地方需要使用到这个东西呢? |
现在的Runtime都是和ONNX的标准对齐的,理论上用不到这个功能了 |
我的场景是paddle->onnx->trt。然后模型涉及到自定义算子,我就需要使用custom_ops完成paddle->onnx的转换。 |
@FrankyTang 您是自己使用trt实现了算子是吗?所以需要用CustomOps? |
@Zheng-Bicheng 是的,我有自定义的trt算子。 |
This issue is stale because it has been open for 30 days with no activity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在使用命令行进行put_along_axis映射,使用了custom_ops,但是onnx的输入和输出发现对不上
这个是我使用的命令行:paddle2onnx --model_dir . --model_filename paddle_put_along_axis.pdmodel --opset_version 16 --save_file put_along_axis.onnx --custom_ops '{"put_along_axis":"ScatterElements"}'
下面的图片可以看到输入的名称和变量都对不上,可能是我使用的不对,能否提供一个正确的使用教程
The text was updated successfully, but these errors were encountered: