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

* add reminder of fluid.layers.lstm
musl/disable_test_yolov3_temporarily
GaoWei8 4 years ago committed by GitHub
parent 8af0d85ea4
commit 13828db313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,6 +18,7 @@ import sys
from functools import partial, reduce from functools import partial, reduce
import paddle import paddle
from paddle.utils import deprecated
from . import nn from . import nn
from . import tensor from . import tensor
from . import control_flow from . import control_flow
@ -2418,6 +2419,10 @@ def dynamic_lstm(input,
return hidden, cell return hidden, cell
@deprecated(
since='2.0.0',
update_to='paddle.nn.LSTM',
reason="This API may occur CUDNN errors.")
def lstm(input, def lstm(input,
init_h, init_h,
init_c, init_c,

Loading…
Cancel
Save