[SWE-Paddle] Add task PaddlePaddle__Paddle_78048 - #1517
Open
Echo-Nie wants to merge 4 commits into
Open
Conversation
Enhance compatibility for parameter names in hsplit, dsplit, and vsplit functions to support common aliases while maintaining existing functionality.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联
说明
新增 SWE-Paddle 任务
PaddlePaddle__Paddle-78048。该任务覆盖
paddle.hsplit、paddle.dsplit和paddle.vsplit的参数名兼容,支持使用input代替x,以及使用indices、sections代替num_or_indices。测试使用来源 PR 中新增的 API compatibility 单测,同时包含原有参数写法的 regression case,可在 CPU 环境运行,无需重新编译 Paddle。验证结果
tests/test.patchsolution/code.patchBase P2P
Base F2P:hsplit
Base F2P:dsplit
Base F2P:vsplit
Solution P2P
Solution F2P:hsplit
Solution F2P:dsplit
Solution F2P:vsplit
Solution
tests/test.sh