forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified sample code of add_position_encoding to 2.0 (PaddlePaddle#27561
) * modified sample code of add_position_encoding to 2.0, test=document_fix * use core.op in add_position_encoding API. * add test for add_position_encoding in dygraph mode
- Loading branch information
Li Fuchen
authored
Sep 28, 2020
1 parent
a4c25b2
commit 5e4f01f
Showing
2 changed files
with
46 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters