未验证 提交 78cc1ca6 编写于 作者: T Tao Luo 提交者: GitHub

Split some APIs from nn.py to rnn.py and sequence_lod.py (#21030)

* split some APIs from nn.py to rnn.py

* split some APIs from nn.py to sequence_lod.py

test=develop

* fix unit-test bug

test=develop

* fix test_layers unit-test bug

test=develop
上级 77c20835
...@@ -35,6 +35,7 @@ from .metric_op import * ...@@ -35,6 +35,7 @@ from .metric_op import *
from .learning_rate_scheduler import * from .learning_rate_scheduler import *
from .collective import * from .collective import *
from .distributions import * from .distributions import *
from .sequence_lod import *
from . import rnn from . import rnn
__all__ = [] __all__ = []
...@@ -48,6 +49,7 @@ __all__ += detection.__all__ ...@@ -48,6 +49,7 @@ __all__ += detection.__all__
__all__ += metric_op.__all__ __all__ += metric_op.__all__
__all__ += learning_rate_scheduler.__all__ __all__ += learning_rate_scheduler.__all__
__all__ += distributions.__all__ __all__ += distributions.__all__
__all__ += sequence_lod.__all__
__all__ += rnn.__all__ __all__ += rnn.__all__
from .rnn import * from .rnn import *
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册