Skip to content

Conversation

@fangfangssj
Copy link
Contributor

@fangfangssj fangfangssj commented Oct 29, 2025

PR Category

User Experience

PR Types

New features

Description

Support compatibility for paddle.tanh, paddle.Tensor.tanh and paddle.nn.functional.tanh
截屏2025-10-29 23 51 07

@paddle-bot
Copy link

paddle-bot bot commented Oct 29, 2025

你的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.

args_mapper :
func : ArgSumMapper

- op : tanh
Copy link
Contributor

@zhwesky2010 zhwesky2010 Oct 30, 2025

Choose a reason for hiding this comment

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

torch.nn.functional.tanh、torch.tanh 两个目录都应该导入一下

@fangfangssj
Copy link
Contributor Author

/re-run all-failed

sign,
sin,
sum,
tanh,
Copy link
Contributor

Choose a reason for hiding this comment

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

nn.functional下面有导入吗

Copy link
Contributor Author

Choose a reason for hiding this comment

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

有的,nn.functional导入了这个math下的tanh

@zhwesky2010
Copy link
Contributor

zhwesky2010 commented Nov 3, 2025

@fangfangssj 这个需要处理下冲突,可以在python_api_info.yaml的其他位置加,加到最后面容易导致频繁冲突。这几个PR能否合并在一起。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants