Skip to content

Conversation

@hd9568
Copy link
Contributor

@hd9568 hd9568 commented Oct 13, 2025

No description provided.

@paddle-bot
Copy link

paddle-bot bot commented Oct 13, 2025

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

@@ -518,12 +519,12 @@ def generate_category2_table(
):
continue
# 检查条件:mapping_type为"无参数"或"参数完全一致",src_api包含"torch",替换后与dst_api不等
if mapping_type in ["无参数", "参数完全一致", "仅 API 调用方式不一致"]:
print(src_api)
# if mapping_type in ["无参数", "参数完全一致", "仅 API 调用方式不一致"]:
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里注释掉的原因是

Copy link
Contributor Author

Choose a reason for hiding this comment

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

用于debug,目前的版本不需要这段代码了,后续会继续优化一下代码内容

@zhwesky2010
Copy link
Collaborator

需要先拉一下最新的代码

## [ 参数默认值不一致 ]torch.alpha_dropout

### [torch.alpha\_dropout](https://pytorch.org/docs/master/generated/torch.nn.functional.alpha_dropout.html)

Copy link
Collaborator

@zhwesky2010 zhwesky2010 Oct 13, 2025

Choose a reason for hiding this comment

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

看大部分的改动都是这个空行,这个地方也不用改。

这里是自动生成刷新,还是手动改的。

目前有可以自动生成的没,第2类的生成有可行性没

Copy link
Contributor Author

Choose a reason for hiding this comment

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

有些文件格式不统一,利用脚本对文件进行统一处理了一下,会导致有些文件有一些冗余处理,但是操作应该不可逆

@zhwesky2010 zhwesky2010 merged commit a46693e into PaddlePaddle:develop Oct 14, 2025
5 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