Skip to content

[API Compatibility No.114] support torch.masked_fill(input=...) with change-prefix mapping -part#828

Open
Aidenwu0209 wants to merge 1 commit intoPaddlePaddle:masterfrom
Aidenwu0209:api-compat-no114-masked-fill-part
Open

[API Compatibility No.114] support torch.masked_fill(input=...) with change-prefix mapping -part#828
Aidenwu0209 wants to merge 1 commit intoPaddlePaddle:masterfrom
Aidenwu0209:api-compat-no114-masked-fill-part

Conversation

@Aidenwu0209
Copy link

@Aidenwu0209 Aidenwu0209 commented Feb 15, 2026

PR Docs

PR APIs

torch.masked_fill

Description

  • Switch torch.masked_fill mapping from GenericMatcher to ChangePrefixMatcher.
  • Keep regression coverage for keyword style by checking converted code for input= scenarios.

Test

  • python -m pytest tests/test_masked_fill.py -q

@paddle-bot
Copy link

paddle-bot bot commented Feb 15, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant