-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[CodeStyle][CINN] fix Ruff lint errors (pyupgrade rules) #54988
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
@@ -69,7 +69,7 @@ def init_case(self): | |||
packed = pack(data.size * 'h', *data.flatten()) | |||
self.inputs = {"x": data} | |||
self.outputs = { | |||
"y": np.array(unpack('4i', packed), dtype='int32').reshape((4)), | |||
"y": np.array(unpack('4i', packed), dtype='int32').reshape((4,)), |
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.
挂的流水线 rerun 下试试?看起来都与本 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.
LGTM,麻烦 rerun 下 PR-CI-ROCM-Compile,其余两条流水线等周一豁免
PR types
Others
PR changes
Others
Description
相关链接: