-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
【OpPorting Example】DEMO OF FIX COMPILE&RUNTIME LOD_EQUALITY #22460
【OpPorting Example】DEMO OF FIX COMPILE&RUNTIME LOD_EQUALITY #22460
Conversation
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.
@xyzhou-puck 请review下sequence相关Op的修改逻辑是否正确
'retinanet_target_assign', 'filter_by_instag', 'fusion_seqpool_concat', | ||
'multiclass_nms', 'multiclass_nms2', 'im2sequence', | ||
'generate_proposal_labels', 'distribute_fpn_proposals', 'detection_map', | ||
'locality_aware_nms', 'var_conv_2d' |
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.
一个API一行,避免多人同时修改时冲突。
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.
【OP单测规范修改示例】OP规范中规定编译时和运行是
Lod_level
一致,当前不能一致。不能通过一致性规范的OP请参考本PR的实现方式修改OP的实现【一般修改方法描述】
错误原因:编译时与运行时输出的lod_level不一致
对应代码:infershape函数中未针对compile-time时设置lod_level.
修改方法:
python/paddle/fluid/tests/unittests/white_list/compile_vs_runtime_white_list.py
中除去修复的OP名称。