From 47d83bd34e65f5f4dbd203ad6f5f4671ccd9d543 Mon Sep 17 00:00:00 2001 From: Pei Yang Date: Sun, 28 Jun 2020 16:06:43 +0800 Subject: [PATCH] fix full_like demo (#2234) --- doc/fluid/api_cn/layers_cn/full_like_cn.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/fluid/api_cn/layers_cn/full_like_cn.rst b/doc/fluid/api_cn/layers_cn/full_like_cn.rst index 0d02b9b74..eaf9fac4d 100644 --- a/doc/fluid/api_cn/layers_cn/full_like_cn.rst +++ b/doc/fluid/api_cn/layers_cn/full_like_cn.rst @@ -28,7 +28,7 @@ full_like import paddle.fluid as fluid import numpy as np input = fluid.data(name='input', dtype='float32', shape=[2, 3]) - output = fluid.layers..full_like(input, 2.0) + output = fluid.layers.full_like(input, 2.0) exe = fluid.Executor(fluid.CPUPlace()) exe.run(fluid.default_startup_program()) img=np.array([[1, 2, 3], [4, 5, 6]]).astype(np.float32) -- GitLab