-
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
[CINN]Add support for TensorList input in the Pad3d infer symbolic interface #70318
base: develop
Are you sure you want to change the base?
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
paddle/fluid/pir/dialect/operator/interface/infer_symbolic_shape/infer_sym_utils.cc
Outdated
Show resolved
Hide resolved
if (x_shape_or_data.data().has_value() && x_shape_or_data.shape().empty() && | ||
x_shape_or_data.data().value().size() == 1) { // 0D tensor | ||
infer_context->SetShapeOrDataForValue(op->result(0), x_shape_or_data); | ||
return 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.
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.
奥这里是reduceInferDim那个pr需要修改的内容,测完模型没有删
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.
reduce算子应该不会把输入x的data往shape上弄,有data肯定也只能是往输出的data上放
PR Category
CINN
PR Types
Bug fixes
Description
Pcard-67164