-
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
【Error Message No. 4】 paddle/fluid/pir/transforms/* #62814
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
PADDLE_ENFORCE_EQ( | ||
add_input && conv2d_out, | ||
true, | ||
phi::errors::PreconditionNotMet("The type of add input should be the " | ||
"same as the type of conv2d's out.")); |
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.
这里的本意是add_input和conv2d_out相等,你这里是全为true。。。
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.
收到
PADDLE_ENFORCE_EQ(module_op.name(), | ||
"builtin.module", | ||
phi::errors::InvalidArgument( | ||
"ShapeOptimizationPass should run on module op.")); |
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.
这里的本意是module_op这个对象不为NULL,你这里是它的name等于"builtin.module"。。。
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.
收到
PADDLE_ENFORCE_EQ(module_op.name(), | ||
"builtin.module", | ||
phi::errors::InvalidArgument( | ||
"sub_graph_extract_pass should run on module op.")); |
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.
收到
PR types
Others
PR changes
Others
Description
No.4