-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[Paddle Inference] Add sign and not trt converter #48557
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
#if IS_TRT_VERSION_GE(8400) | ||
if (!with_dynamic_shape) { | ||
return false; | ||
} | ||
#else | ||
VLOG(3) << "logical_not op is only supported by trt8.4 above because of " | ||
"cast op"; | ||
return false; | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7.0 已经支持
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cast 只有8.4 才能支持,这些有bool型输入输出的,目前只能通过大于8.4去支持
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cast是单测中引入的吧?
"sign", | ||
]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
另外这个单测确认下,不一定过的了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
Others
PR changes
Others
Describe
Add sign trt converter