-
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
【SCU】【Paddle TensorRT No.18】Add pd_op.conv3d
and pd_op.conv3d_transpose
converter
#70647
base: develop
Are you sure you want to change the base?
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
filter_shape = paddle_op.operands()[1].source().shape | ||
if len(filter_shape) != 5: | ||
raise ValueError( | ||
f"The conv3d filter's dims size should be 5, but got {len(filter_shape)}" |
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.
converter里对filter的shape做了限制,但是marker里并没有做拦截?
layer.num_groups = groups | ||
|
||
if padding_algorithm == "SAME": | ||
layer.padding_mode = trt.PaddingMode.SAME_UPPER |
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.
既然你要支持输出的layer的name,以后pr你都支持上吧,省的一个一个改了
PR Category
User Experience
PR Types
New features
Description
card-71500
新增
pd_op.conv3d
andpd_op.conv3d_transpose
(markerpass中有些条件包括tensorrt版本小于8.4、支持动态图is_dynamic
条件就直接忽略了)