Skip to content

Conversation

@cszdrg
Copy link
Contributor

@cszdrg cszdrg commented Mar 4, 2025

PR Category

User Experience

PR Types

Bug fixes

Description

在start<end时 step<0 和start>end时 step>0会出现的报错
屏幕截图 2025-03-04 020352

@cszdrg cszdrg closed this Mar 4, 2025
@cszdrg cszdrg reopened this Mar 4, 2025
@paddle-bot paddle-bot bot added the contributor External developers label Mar 4, 2025
Copy link
Contributor

@HydrogenSulfate HydrogenSulfate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还麻烦在Paddle/test/legacy_test/test_arange.py里添加一些单元测试,

@cszdrg cszdrg closed this Mar 5, 2025
@cszdrg cszdrg reopened this Mar 5, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Mar 5, 2025
@cszdrg
Copy link
Contributor Author

cszdrg commented Mar 5, 2025

还麻烦在Paddle/test/legacy_test/test_arange.py里添加一些单元测试,

好的 我增加了两个样例

@luotao1 luotao1 closed this Mar 6, 2025
@luotao1 luotao1 reopened this Mar 6, 2025
Copy link
Contributor

@HydrogenSulfate HydrogenSulfate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HydrogenSulfate HydrogenSulfate merged commit 6622267 into PaddlePaddle:develop Mar 6, 2025
34 checks passed
YqGe585 pushed a commit to YqGe585/Paddle that referenced this pull request May 7, 2025
…:test_arange鲁棒性增强 (PaddlePaddle#71394)

* array_api_tests/test_creation_functions.py::test_arange鲁棒性增强

* add test about 0 size output of arange in legacy_test/test_arange.py

* fix test about 0 size output of arange in legacy_test/test_arange.py

* fix test about 0 size output of arange in legacy_test/test_arange.py

* fix test about 0 size output of arange in legacy_test/test_arange.py

* fix test about 0 size output of arange in legacy_test/test_arange.py

* fix test about 0 size output of arange in legacy_test/test_arange.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants