- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.9k
 
          [API Compatiblity] Support paddle.tanh
          #76122
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
| 
           你的PR提交成功,感谢你对开源项目的贡献!  | 
    
| args_mapper : | ||
| func : ArgSumMapper | ||
| 
               | 
          ||
| - op : tanh | 
There was a problem hiding this comment.
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 两个目录都应该导入一下
| 
           /re-run all-failed  | 
    
| sign, | ||
| sin, | ||
| sum, | ||
| tanh, | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nn.functional下面有导入吗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有的,nn.functional导入了这个math下的tanh
| 
           @fangfangssj 这个需要处理下冲突,可以在python_api_info.yaml的其他位置加,加到最后面容易导致频繁冲突。这几个PR能否合并在一起。  | 
    
PR Category
User Experience
PR Types
New features
Description
Support compatibility for

paddle.tanh,paddle.Tensor.tanhandpaddle.nn.functional.tanh