Skip to content

Conversation

@zhengshengning
Copy link
Contributor

当输入tensor的numel为0时,也应该正常调用torch.reshape函数,这样才能和paddle相对齐
image

@paddle-bot
Copy link

paddle-bot bot commented Jul 21, 2025

Thanks for your contribution!

@zhengshengning zhengshengning changed the title [PHI] fix rules of reshape fix rules of reshape Jul 21, 2025
@zhengshengning zhengshengning changed the title fix rules of reshape [0-size Tensor Job2 No.96] fix rules of reshape Jul 21, 2025
@cangtianhuang cangtianhuang self-assigned this Jul 21, 2025
Copy link
Collaborator

@cangtianhuang cangtianhuang left a comment

Choose a reason for hiding this comment

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

LGTM

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