-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Typing][C-78] Add type annotations for python/paddle/incubate/nn/functional/masked_multihead_attention.py
#67558
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
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.
文档中的参数类型不对,也改一下吧:
cache_kvs (list(Tensor)|tuple(Tensor)): The cache structure tensors ...
改为
cache_kv (Tensor): The cache structure tensors ...
python/paddle/incubate/nn/functional/masked_multihead_attention.py
Outdated
Show resolved
Hide resolved
python/paddle/incubate/nn/functional/masked_multihead_attention.py
Outdated
Show resolved
Hide resolved
…n.py Co-authored-by: megemini <megemini@outlook.com>
…n.py Co-authored-by: megemini <megemini@outlook.com>
python/paddle/incubate/nn/functional/masked_multihead_attention.py
Outdated
Show resolved
Hide resolved
…n.py Co-authored-by: megemini <megemini@outlook.com>
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.
LGTM ~
PR Category
User Experience
PR Types
Improvements
Description
类型标注:
Related links
@SigureMo @megemini