-
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 auto generate for prelu #51913
Changes from 2 commits
5913d40
4777451
9ac3c18
e47c978
32e243f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1089,6 +1089,15 @@ | |
data_type : x | ||
backward : pow_grad | ||
|
||
- op : prelu | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 查看ci-coverage, 这个错误可能是由 There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. |
||
args : (Tensor x, Tensor alpha, str data_format="NCHW", str mode="all") | ||
output : Tensor(out) | ||
infer_meta : | ||
func : PReluInferMeta | ||
kernel : | ||
func : prelu | ||
Ainavo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
backward : prelu_grad | ||
|
||
- op : put_along_axis | ||
args : (Tensor arr, Tensor indices, Tensor values, int axis, str reduce = "assign") | ||
output : Tensor(out) | ||
|
This file was deleted.
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.
mkldnn失败的原因已确定,这里的不能直接使用
GeneralBinaryGradInferMeta
,需要新增函数。建议如下:PreluGradInferMeta
paddle/phi/infermeta/backward.cc
文件的PixelUnshuffleGradInferMeta
函数后面增加函数paddle/phi/infermeta/backward.h
的PixelUnshuffleGradInferMeta
函数后面增加函数声明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.
收到,已添加