-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Support static graph code-gen for deformableConvV1 #53569
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
❌ The PR is not created using PR's template. You can refer to this Demo. |
paddle/phi/api/yaml/static_ops.yaml
Outdated
@@ -88,6 +88,16 @@ | |||
data_type : x | |||
backward : deformable_conv_grad | |||
|
|||
- op : deformable_conv_v1 | |||
args : (Tensor x, Tensor offset, Tensor filter, int[] strides={1, 1}, int[] paddings={0, 0}, int[] dilations={1, 1}, int deformable_groups=1, int groups=1, int im2col_step=64) |
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.
对应的配置到ops.yaml中和backward中
paddle/phi/api/yaml/static_ops.yaml
Outdated
infer_meta : | ||
func : DeformableConvInferMeta | ||
kernel : | ||
func : deformable_conv_v1 |
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.
deformable_conv_v1
->deformable_conv
infer_meta : | ||
func : DeformableConvGradInferMeta | ||
kernel : | ||
func : deformable_conv_v1_grad |
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.
deformable_conv_v1_grad
->deformable_conv_grad
paddle/phi/api/yaml/op_compat.yaml
Outdated
@@ -576,6 +576,13 @@ | |||
outputs : | |||
out : Output | |||
|
|||
- op : deformable_conv_v1 |
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.
deformable_conv_v1
->deformable_conv(deformable_conv_v1)
deformable_conv_v1_grad
->deformable_conv_grad(deformable_conv_v1_grad)
感谢您的贡献,目前看该任务需要进一步调整,本期该任务暂时关闭。 |
PR types
Others
PR changes
Others
Description
#51842