未验证 提交 13828db3 编写于 作者: G GaoWei8 提交者: GitHub

Add reminder of fluid.layers.lstm (#28964)

* add reminder of fluid.layers.lstm
上级 8af0d85e
......@@ -18,6 +18,7 @@ import sys
from functools import partial, reduce
import paddle
from paddle.utils import deprecated
from . import nn
from . import tensor
from . import control_flow
......@@ -2418,6 +2419,10 @@ def dynamic_lstm(input,
return hidden, cell
@deprecated(
since='2.0.0',
update_to='paddle.nn.LSTM',
reason="This API may occur CUDNN errors.")
def lstm(input,
init_h,
init_c,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册