-
Notifications
You must be signed in to change notification settings - Fork 5.8k
【Infer Symbolic Shape No.171,176-179】【BUAA】yolo_box yolo_box_head yolo_box_post updata_loss_scaling_ tdm_child #67121
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
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
paddle/fluid/pir/dialect/operator/interface/infer_symbolic_shape/binary_infer_sym.cc
Outdated
Show resolved
Hide resolved
paddle/fluid/pir/dialect/operator/interface/infer_symbolic_shape/binary_infer_sym.cc
Outdated
Show resolved
Hide resolved
@@ -188,6 +188,7 @@ OP_DECLARE_INFER_SYMBOLIC_SHAPE(MergeSelectedRows) | |||
OP_DECLARE_INFER_SYMBOLIC_SHAPE(Renorm) | |||
OP_DECLARE_INFER_SYMBOLIC_SHAPE(Renorm_) | |||
OP_DECLARE_INFER_SYMBOLIC_SHAPE(TanhShrink) | |||
OP_DECLARE_INFER_SYMBOLIC_SHAPE(YoloBoxHead) |
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 for YoloBoxHead
// // pass | ||
// return true; | ||
// } | ||
bool TdmChildOpInferSymbolicShape( |
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 for TdmChildOpInferSymbolicShape
// } | ||
const std::vector<symbol::DimExpr> &x_shape = x_shape_or_data.shape(); | ||
int anchor_num = static_cast<int>(anchors.size() / 2); | ||
|
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.
这里是不是能根据 iou_aware 添加一些 equal 约束
// // pass | ||
// return true; | ||
// } | ||
bool UpdateLossScaling_OpInferSymbolicShape( |
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 for UpdateLossScaling_
PR Category
CINN
PR Types
Improvements
Description
添加
yolo_box
,yolo_box_head
,yolo_box_post
,tdm_child
,update_loss_scaling_
算子符号推导接口实现。