Skip to content

Conversation

@LittleHeroZZZX
Copy link
Contributor

@LittleHeroZZZX LittleHeroZZZX commented Oct 31, 2025

PR Docs

PR APIs

新增如下 API:
nn.ConstantPad1D/2D/3D
nn.ReflectionPad1D/2D/3D
nn.ReplicationPad1D/2D/3D
nn.CircularPad1D/2D/3D

并新增对成员变量 padding 和 value一致性的检查

关联 PR:

@paddle-bot
Copy link

paddle-bot bot commented Oct 31, 2025

Thanks for your contribution!

Copy link
Collaborator

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

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

LGTM,后面PR可以优化下tests/test_nn_ReplicationPad1d/2d/3d写法,测一测padding属性之类。

@zhwesky2010 zhwesky2010 merged commit 19a91fd into PaddlePaddle:master Nov 6, 2025
8 checks passed
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