Skip to content

ENH: torch.reshape: implement copy with Torch view and clone operations - #457

Merged
ev-br merged 1 commit into
data-apis:mainfrom
stanbot8:fix/torch-reshape-copy
Jul 29, 2026
Merged

ENH: torch.reshape: implement copy with Torch view and clone operations#457
ev-br merged 1 commit into
data-apis:mainfrom
stanbot8:fix/torch-reshape-copy

Conversation

@stanbot8

@stanbot8 stanbot8 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

The Torch reshape wrapper rejects each explicit copy value.

Implement copy with Torch view and clone operations.

array-api-tests#432 passed with 10000 generated examples.

All tests pass.

@ev-br ev-br left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!
Thank you @stanbot8 , merging.

@ev-br
ev-br merged commit 902c2f7 into data-apis:main Jul 29, 2026
28 checks passed
@ev-br ev-br changed the title fix: implement copy with Torch view and clone operations ENH: torch.reshape: implement copy with Torch view and clone operations Jul 29, 2026
@ev-br ev-br added this to the 1.16 milestone Jul 29, 2026
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