未验证 提交 07eeb36e 编写于 作者: L liu zhengxi 提交者: GitHub

Add Returns for BeamSearchDecoder doc (#33721)

* add returns for beamsearchdecoder doc, test=document_fix
上级 f56290a6
......@@ -880,6 +880,9 @@ class BeamSearchDecoder(Decoder):
:code:`BeamSearchDecoder.tile_beam_merge_with_batch` . The most common case
for this is the encoder output in attention mechanism.
Returns:
BeamSearchDecoder: An instance of decoder which can be used in \
`paddle.nn.dynamic_decode` to implement decoding.
Examples:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册