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
在PluginV2Ext中有enqueue方法需要重写,您在自定义的TRTPlugin中又重定义了一个enqueue,输入参数和原来的大不一样,在这个DEFINE_BUILTIN_OP_IMPORTER宏中虽然有转类型的操作,但是是怎么调用到自定义的那个enqueue方法的呢?看了很久没有明白,求大佬指点~
The text was updated successfully, but these errors were encountered:
在TRTPlugin里面,也就是onnxplugin.cpp:254行开始,调用了mappingToGTensor、对数据类型做了封装,然后再调用enqueue(也就是自定义的 enqueue)是这么做到的
Sorry, something went wrong.
明白了,多谢大佬~
No branches or pull requests
在PluginV2Ext中有enqueue方法需要重写,您在自定义的TRTPlugin中又重定义了一个enqueue,输入参数和原来的大不一样,在这个DEFINE_BUILTIN_OP_IMPORTER宏中虽然有转类型的操作,但是是怎么调用到自定义的那个enqueue方法的呢?看了很久没有明白,求大佬指点~
The text was updated successfully, but these errors were encountered: