Skip to content

Conversation

@Difers
Copy link
Contributor

@Difers Difers commented Sep 5, 2025

规范化文档中dtye相关类型注释,目前dtype传入类型支持str,paddle.dtype,np.dtype等多种类型
相关PR:PaddlePaddle/Paddle#74545

@paddle-bot
Copy link

paddle-bot bot commented Sep 5, 2025

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7423.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@Difers Difers changed the title fix many type [API compatibility]fix many dtype Sep 8, 2025
@Difers Difers changed the title [API compatibility]fix many dtype [API compatibility]Refine Documentation: Annotations for dtype Types Sep 8, 2025
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

@zhwesky2010 zhwesky2010 merged commit 8f5e51e into PaddlePaddle:develop Sep 8, 2025
2 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