Skip to content

Conversation

@ooooo-create
Copy link
Contributor

@ooooo-create ooooo-create commented Jun 19, 2025

move special index_put config to random_calculation

https://github.com/PaddlePaddle/Paddle/blob/65a79c41566b5294c5fa4cbea57f8a9d3e8971e0/python/paddle/tensor/manipulation.py#L6997-L7000

TODO

  • 想个办法给 indices 生成不重复元素的 numpy 输入

@paddle-bot
Copy link

paddle-bot bot commented Jun 19, 2025

Thanks for your contribution!

@ooooo-create ooooo-create marked this pull request as draft June 19, 2025 09:18
@cszdrg cszdrg requested a review from cangtianhuang June 19, 2025 09:58
@cangtianhuang
Copy link
Collaborator

cangtianhuang commented Jun 19, 2025

@ooooo-create index_put 的随机化生成非常复杂,可以尝试修改 tester/base.py 的 _handle_indices_arg 方法,使其行为确定😉~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants