Skip to content

Commit e5e5213

Browse files
authored
Merge pull request #501 from tink2123/fix_last_step
fix sequence_last_step example
2 parents c93aa2a + ea63551 commit e5e5213

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/fluid/api_cn/layers_cn.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6406,7 +6406,6 @@ resize_bilinear
64066406
64076407
.. py:function:: paddle.fluid.layers.resize_bilinear(input, out_shape=None, scale=None, name=None, actual_shape=None)
64086408
6409-
根据指定的out_shape执行双线性插值调整输入大小,输出形状按优先级由actual_shape、out_shape和scale指定。
64106409
64116410
根据指定的out_shape执行双线性插值调整输入大小,输出形状按优先级由actual_shape、out_shape和scale指定。
64126411
@@ -7086,7 +7085,7 @@ sequence_last_step
70867085
70877086
len(x.lod[-1]) == out.dims[0]
70887087
7089-
out.data = [1, 2, 5], where 1=first(1,3), 2=first(2,4,6), 5=first(5,1)
7088+
out.data = [3, 6, 1], where 3=last(1,3), 6=last(2,4,6), 1=last(5,1)
70907089
70917090
参数:**input** (variable)-输入变量,为LoDTensor
70927091

0 commit comments

Comments
 (0)