Skip to content

Conversation

@MrXnneHang
Copy link
Contributor

PR Category

User Experience

PR Types

Docs

Description

直接使用import less_than as less的方法,会导致在 PaddlePaddle/docs 处解析出来的 docstring 以及函数名依然属于less_than .

image

这里尝试复用 less_than 来定义 less ,并且修改了 docstring。

@paddle-bot
Copy link

paddle-bot bot commented Nov 18, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Nov 18, 2024
@MrXnneHang
Copy link
Contributor Author

这是上一次的 PR ,如果需要新增单测请告诉我。

@MrXnneHang MrXnneHang changed the title refact: 复用 less_than 实现 less,而不是直接 import as refact: 复用 less_than 实现 less,而不是直接 import less_than as less Nov 18, 2024
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Nov 18, 2024
Copy link
Contributor

@sunzhongkai588 sunzhongkai588 left a comment

Choose a reason for hiding this comment

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

LGTM~中文文档也同步增加吧

@luotao1 luotao1 merged commit f800086 into PaddlePaddle:develop Nov 19, 2024
27 of 28 checks passed
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.

4 participants