Skip to content

test(take): align with Paddle compat take behavior#66

Open
youge325 wants to merge 7 commits into
PFCCLab:masterfrom
youge325:test/take-20260528
Open

test(take): align with Paddle compat take behavior#66
youge325 wants to merge 7 commits into
PFCCLab:masterfrom
youge325:test/take-20260528

Conversation

@youge325

Copy link
Copy Markdown
Contributor

Summary

Add cross-framework comparison tests for at::take compat interface.

Test Coverage

  • Shape: small 1D index, multi-dimensional index, scalar index (0-dim), empty index (boundary), duplicate indices
  • Dtype: kFloat, kDouble, kInt, kLong
  • Exception: out-of-range index

Related PR

PaddlePaddle/Paddle#79178

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings May 28, 2026 14:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@youge325
youge325 force-pushed the test/take-20260528 branch from 635e0e1 to da9d641 Compare June 14, 2026 09:55
@youge325
youge325 force-pushed the test/take-20260528 branch 2 times, most recently from d705ad9 to 7a6c23b Compare June 29, 2026 02:43
youge325 and others added 5 commits June 29, 2026 11:39
Add cross-framework comparison tests for at::take:
- Shape coverage: small 1D, multi-dim, scalar, empty, duplicate indices
- Dtype coverage: kFloat, kDouble, kInt, kLong
- Exception coverage: out-of-range index

Related: PaddlePaddle/Paddle#79178

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@youge325
youge325 force-pushed the test/take-20260528 branch from 7a6c23b to e147a6d Compare June 29, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants