Skip to content

[API Compatibility No.10] Update floor_divide_ matcher to ChangePrefixMatcher -part#818

Open
CAICAIIs wants to merge 1 commit intoPaddlePaddle:masterfrom
CAICAIIs:master
Open

[API Compatibility No.10] Update floor_divide_ matcher to ChangePrefixMatcher -part#818
CAICAIIs wants to merge 1 commit intoPaddlePaddle:masterfrom
CAICAIIs:master

Conversation

@CAICAIIs
Copy link

Update torch.Tensor.floor_divide_ matcher from Num2TensorBinaryMatcher to ChangePrefixMatcher This tells PaConvert that torch.Tensor.floor_divide_ doesn't need conversion since Paddle's API already supports PyTorch parameter aliases via @param_two_alias decorator.

Related Paddle PR: #77556

Related Issue: #76301 task 10

PR Docs

No separate docs PR needed for this API compatibility enhancement.
The documentation is automatically generated from code comments

PR APIs

torch.Tensor.floor_divide_

…xMatcher -part

Update torch.Tensor.floor_divide_ matcher from Num2TensorBinaryMatcher to ChangePrefixMatcher
This tells PaConvert that torch.Tensor.floor_divide_ doesn't need conversion since
Paddle's API already supports PyTorch parameter aliases via @param_two_alias decorator.

Related Paddle PR: N/A (pending)

Related Issue: #76301 task 10
@paddle-bot
Copy link

paddle-bot bot commented Jan 28, 2026

Thanks for your contribution!

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

Labels

contributor External developers HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants