Skip to content

test(repeat_interleave): align with Paddle compat repeat_interleave 行为#68

Open
youge325 wants to merge 11 commits into
PFCCLab:masterfrom
youge325:test/repeat_interleave-20260529
Open

test(repeat_interleave): align with Paddle compat repeat_interleave 行为#68
youge325 wants to merge 11 commits into
PFCCLab:masterfrom
youge325:test/repeat_interleave-20260529

Conversation

@youge325

Copy link
Copy Markdown
Contributor

Add cross-framework compatibility test for at::repeat_interleave.

This test covers:

  • Shape: scalar, 1D, 2D, 3D, large shape, empty tensor, all-1 dimension
  • Dtype: kFloat, kDouble, kInt, kLong
  • API variants: scalar/tensor repeats, with/without dim, standalone function
  • Boundary: repeats=0, empty repeats, negative dim
  • Exception: negative repeats, invalid repeats dim, size mismatch

Related: PaddlePaddle/Paddle#79189

Copilot AI review requested due to automatic review settings May 29, 2026 10:08

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.

Pull request overview

Adds a new cross-framework compatibility test suite for at::repeat_interleave, fitting the repository’s pattern of writing Torch/Paddle test outputs for comparison.

Changes:

  • Adds scalar and tensor repeat_interleave API variant coverage.
  • Adds shape, dtype, boundary, data integrity, and exception behavior cases.
  • Writes result metadata and selected validation outputs through FileManerger.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@youge325 youge325 force-pushed the test/repeat_interleave-20260529 branch from 1b804da to c0b566e Compare June 11, 2026 05:35
@youge325 youge325 force-pushed the test/repeat_interleave-20260529 branch from ad71082 to 8208a06 Compare June 28, 2026 19:33
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