Skip to content
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

Fix seven error message #32397

Merged
merged 21 commits into from
Apr 23, 2021
Merged

Fix seven error message #32397

merged 21 commits into from
Apr 23, 2021

Conversation

Kqnonrime
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

Fix seven error message

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@@ -66,12 +71,21 @@ class ScatterNdAddOp : public framework::OperatorWithKernel {

PADDLE_ENFORCE_EQ(
r_updates_dims.size(), updates_dims_size,
platform::errors::InvalidArgument("Updates has wrong shape"));
platform::errors::InvalidArgument(
"Updates has wrong shape.The shape of Updates and Input(Updates) "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shape.The 这种建议中间加一个空格


for (int64_t i = 0; i < updates_dims_size; ++i) {
PADDLE_ENFORCE_EQ(
r_updates_dims[i], updates_dims[i],
platform::errors::InvalidArgument("Updates has wrong shape"));
platform::errors::InvalidArgument(
"Updates has wrong shape.The dimensions of Updates and "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

@chenwhql chenwhql merged commit 203ac4f into PaddlePaddle:develop Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants