Skip to content

Commit aa02e34

Browse files
authored
Add hapi.text and corresponding unit test. (#24457)
* Add hapi.text and corresponding unit test. test=develop * Remove hapi.text apis' reuse parameter args for coverage. test=develop * Fix TransformerCell and TransformerBeamSearchDecoder example codes. test=develop * Fix example codes in hapi.text. test=develop * Add some apis in hapi.text into example code white list. test=develop * Fix example code of DynamicDecode in hapi.text. text=develop * Rename Model.self as model in test_text.py test=develop
1 parent 526a211 commit aa02e34

File tree

6 files changed

+4750
-1
lines changed

6 files changed

+4750
-1
lines changed

python/paddle/incubate/hapi/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from . import datasets
2323
from . import distributed
2424
from . import vision
25+
from . import text
2526

2627
logger.setup_logger()
2728

@@ -33,6 +34,7 @@
3334
'metrics',
3435
'loss',
3536
'vision',
37+
'text',
3638
]
3739

3840
__all__ += model.__all__

0 commit comments

Comments
 (0)