-
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
【Infer Symbolic Shape No.92】【BUAA】 Add nll_loss op #67884
【Infer Symbolic Shape No.92】【BUAA】 Add nll_loss op #67884
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
PADDLE_ENFORCE_EQ( | ||
x_shape[0], | ||
label_shape[0], | ||
phi::errors::InvalidArgument( |
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.
应该用euqalcstr
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.
已修改。
true, | ||
phi::errors::InvalidArgument("Input(X) tensor shape should " | ||
"match to Input(Label) tensor " | ||
"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.
这里应该用equalcstr;这六个变量不用取出来,省去一次拷贝
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
Codestyle-Check 测试无权限重新运行。 |
剩余的几个测试已经跑了好几天了,请问应该如何处理? |
目前挂掉是coverage流水线的问题,rerun了 |
好像还是没有过 |
PR Category
CINN
PR Types
Improvements
Description
添加 nll_loss 算子符号推导接口。