From b303e2963bab6c467e9a36da6957ba729605f46c Mon Sep 17 00:00:00 2001 From: dyning Date: Tue, 23 Jun 2020 10:59:14 +0800 Subject: [PATCH] test=develop, test=document_fix --- doc/fluid/api_cn/tensor_cn/unsqueeze_cn.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/fluid/api_cn/tensor_cn/unsqueeze_cn.rst b/doc/fluid/api_cn/tensor_cn/unsqueeze_cn.rst index 77b72b1b3..64ef5c40f 100644 --- a/doc/fluid/api_cn/tensor_cn/unsqueeze_cn.rst +++ b/doc/fluid/api_cn/tensor_cn/unsqueeze_cn.rst @@ -30,7 +30,7 @@ unsqueeze import numpy as np with fluid.dygraph.guard(): input_1 = np.random.random([5, 10]).astype("int32") - # input is a variable which shape is [5, 1, 10] + # input is a variable which shape is [5, 10] input = fluid.dygraph.to_variable(input_1) output = paddle.unsqueeze(input, axes=[1]) -- GitLab