Skip to content

Commit 4360963

Browse files
authored
Merge pull request #11530 from reyoung/feature/static_rnn_memory_link
Hide StaticRNNMemory
2 parents 962711d + 811f5cc commit 4360963

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

python/paddle/fluid/layers/control_flow.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
'merge_lod_tensor',
2828
'BlockGuard',
2929
'BlockGuardWithCompletion',
30-
'StaticRNNMemoryLink',
3130
'WhileGuard',
3231
'While',
3332
'Switch',
@@ -410,16 +409,17 @@ class StaticRNNMemoryLink(object):
410409
"""
411410
StaticRNNMemoryLink class.
412411
413-
Args:
414-
init: the initial variable for Memory
415-
init: Variable
416-
pre_mem: the memory variable in previous time step
417-
pre_mem: Variable
418-
mem: the memory variable in current time step
419-
mem: Variable
420-
421412
StaticRNNMemoryLink class is used to create a link between two
422413
memory cells of a StaticRNN.
414+
415+
416+
NOTE: This is a internal data structure of a very low-level API.
417+
Please use StaticRNN instead.
418+
419+
Args:
420+
init(Variable): the initial variable for Memory.
421+
pre_mem(Variable): the memory variable in previous time step.
422+
mem(Variable): the memory variable in current time step.
423423
"""
424424

425425
def __init__(self, init, pre_mem, mem=None):

0 commit comments

Comments
 (0)