Fix dygraph rnn doc (#24148)

* update dygraph.rnn import

* update dygraph.rnn import

* change unit to cell

* fix math equations

* fix math equations

* fix examples

* remove unused import

* fix examples
revert-24314-dev/fix_err_msg
Xing Wu 5 years ago committed by GitHub
parent fff5cfa353
commit f79526c21c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,6 +50,9 @@ from .static_runner import StaticModelRunner
from . import dygraph_to_static
from .dygraph_to_static import ProgramTranslator
from . import rnn
from .rnn import *
__all__ = []
__all__ += layers.__all__
__all__ += base.__all__
@ -60,4 +63,5 @@ __all__ += checkpoint.__all__
__all__ += learning_rate_scheduler.__all__
__all__ += backward_strategy.__all__
__all__ += jit.__all__
__all__ += rnn.__all__
__all__ += ['ProgramTranslator']

File diff suppressed because it is too large Load Diff

@ -17,7 +17,7 @@ from __future__ import print_function
import unittest
import paddle.fluid as fluid
import paddle.fluid.core as core
from paddle.fluid.dygraph.rnn import GRUCell
from paddle.fluid.dygraph import GRUCell
import numpy as np

@ -17,7 +17,7 @@ from __future__ import print_function
import unittest
import paddle.fluid as fluid
import paddle.fluid.core as core
from paddle.fluid.dygraph.rnn import LSTMCell
from paddle.fluid.dygraph import LSTMCell
import numpy as np

Loading…
Cancel
Save