Skip to content

Commit

Permalink
update return value
Browse files Browse the repository at this point in the history
  • Loading branch information
FeixLiu committed Mar 11, 2022
1 parent c003600 commit 67f3b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/incubate/nn/functional/fused_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,4 +487,4 @@ def fused_multi_head_attention(x,
},
attrs=attrs)

return final_out, cache_kv_out if cache_kv else final_out
return (final_out, cache_kv_out) if cache_kv else final_out

1 comment on commit 67f3b8e

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

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

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.