-
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
fix_repeat_interleave_op #58379
fix_repeat_interleave_op #58379
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
special_handlers["repeat_interleave"] = RepeatInterLeaveOpTranscriber(); | ||
special_handlers["repeat_interleave_grad"] = | ||
RepeatInterLeaveGradOpTranscriber(); |
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.
已修改
@@ -211,3 +211,4 @@ test_where_op | |||
test_yolo_box_op | |||
test_yolov3_loss_op | |||
test_imperative_lod_tensor_to_selected_rows | |||
test_repeat_interleave_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.
同理,这里按照字母序排列,可以在这个目录下增加一个pre-commit配置,避免每次都手动排序
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添加pre-commit配置
b6539ce
to
0174457
Compare
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
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 op_compat
* fix_repeat_interleave_op * fix repeat_interleave * fix * fix * fix codestyle * fix codestyle * fix codestyle * fix codestyle * fix codestyle * fix codestyle * fix codestyle * fix codestyle * fix style * fix style
* fix_repeat_interleave_op * fix repeat_interleave * fix * fix * fix codestyle * fix codestyle * fix codestyle * fix codestyle * fix codestyle * fix codestyle * fix codestyle * fix codestyle * fix style * fix style
PR types
Others
PR changes
Others
Description
修复repeat_interleave_op
问什么会对test_repeat_interleave_op.py进行修改?
data_zero_dim_x
数据类型为float64
,组网时定义的输入的dtype
为float32
,旧Ir下的GetExpectedKernelType
函数可以根据输入的数据的数据类型选择kernel
,而新ir下暂不支持,新ir下根据x
的dtype
选择对应的kernel
。