-
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
[NewIR] add_n and combine support selected rows #56754
[NewIR] add_n and combine support selected rows #56754
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
… simnet_support_sr
@@ -195,3 +195,5 @@ test_where_op | |||
test_yolo_box_op | |||
test_yolov3_loss_op | |||
test_fill_constant_op | |||
test_simnet |
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.
动转静单测的话修改这里没有用,可以参考 #56631 。目前新IR对动转静单测的监控是通过添加装饰器进行的
… simnet_support_sr
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
|
||
VLOG(4) << "Builder construction outputs"; | ||
ir::VectorType inputs = inputs_.type().dyn_cast<ir::VectorType>(); | ||
(void)inputs; |
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.
好的我先合入,我再删掉这行
|
||
VLOG(4) << "Builder construction outputs"; | ||
ir::VectorType inputs = inputs_.type().dyn_cast<ir::VectorType>(); | ||
(void)inputs; |
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 overall
@@ -1112,8 +1112,8 @@ struct AddNOpTranscriber : public OpTranscriber { | |||
} | |||
const auto& op_info = ctx->GetRegisteredOpInfo(target_op_name); | |||
if (!op_info) { | |||
IR_THROW( | |||
"Op assign_value should have corresponding OpInfo pd.assign_value_"); | |||
IR_THROW("Op assign_value should have corresponding OpInfo %s", |
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.
IR_THROW("Op assign_value should have corresponding OpInfo %s", | |
IR_THROW("Op %s should have corresponding OpInfo %s", |
* add_n and combine support selected rows
PR types
New features
PR changes
Others
Description
调通test_simnet和test_simnet_v2
add_n和combine支持了SelectedRows
Pcard-67164