From ea635512b440e10529e31c114632f6baa20e2df8 Mon Sep 17 00:00:00 2001 From: tink2123 Date: Tue, 18 Dec 2018 12:22:07 +0800 Subject: [PATCH] fix last_step --- doc/fluid/api_cn/layers_cn.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/fluid/api_cn/layers_cn.rst b/doc/fluid/api_cn/layers_cn.rst index 8be15d075..f475bb6ab 100644 --- a/doc/fluid/api_cn/layers_cn.rst +++ b/doc/fluid/api_cn/layers_cn.rst @@ -6406,7 +6406,6 @@ resize_bilinear .. py:function:: paddle.fluid.layers.resize_bilinear(input, out_shape=None, scale=None, name=None, actual_shape=None) -根据指定的out_shape执行双线性插值调整输入大小,输出形状按优先级由actual_shape、out_shape和scale指定。 根据指定的out_shape执行双线性插值调整输入大小,输出形状按优先级由actual_shape、out_shape和scale指定。 @@ -7086,7 +7085,7 @@ sequence_last_step 且 len(x.lod[-1]) == out.dims[0] - out.data = [1, 2, 5], where 1=first(1,3), 2=first(2,4,6), 5=first(5,1) + out.data = [3, 6, 1], where 3=last(1,3), 6=last(2,4,6), 1=last(5,1) 参数:**input** (variable)-输入变量,为LoDTensor -- GitLab