Skip to content

Conversation

@cangtianhuang
Copy link
Collaborator

paddle.kthvalue 返回 (values, indices) 元组。在有多个相同 kthvalue 时,torch index 值不确定,paddle 返回第一个出现的 index 值,因此仅需比较 values 值

@paddle-bot
Copy link

paddle-bot bot commented Jul 3, 2025

Thanks for your contribution!

@cangtianhuang cangtianhuang merged commit 0537bad into PFCCLab:main Jul 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant