From 964299291a77e10562218b33215807f9de5bb58e Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 2 Feb 2018 03:40:50 +0000 Subject: [PATCH] Deploy to GitHub Pages: 2bd92754e8bdbf2d670be780f9b35c3b18a1b33e --- develop/doc/api/v2/fluid/layers.html | 4 ++-- develop/doc_cn/api/v2/fluid/layers.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/develop/doc/api/v2/fluid/layers.html b/develop/doc/api/v2/fluid/layers.html index 6e8d381e5b7..64af4be84a1 100644 --- a/develop/doc/api/v2/fluid/layers.html +++ b/develop/doc/api/v2/fluid/layers.html @@ -4719,7 +4719,7 @@ initializes it with a constant specifed by value.

ones

-paddle.v2.fluid.layers.ones(shape, dtype)
+paddle.v2.fluid.layers.ones(shape, dtype, force_cpu=False)

ones

This function creates a tensor of specified shape and dtype, and initializes this with 1.

@@ -4753,7 +4753,7 @@ initializes it with a constant specifed by value.

zeros

-paddle.v2.fluid.layers.zeros(shape, dtype)
+paddle.v2.fluid.layers.zeros(shape, dtype, force_cpu=False)

zeros

This function creates a tensor of specified shape and dtype, and initializes this with 0.

diff --git a/develop/doc_cn/api/v2/fluid/layers.html b/develop/doc_cn/api/v2/fluid/layers.html index 46fde35a24a..24c89d345d8 100644 --- a/develop/doc_cn/api/v2/fluid/layers.html +++ b/develop/doc_cn/api/v2/fluid/layers.html @@ -4738,7 +4738,7 @@ initializes it with a constant specifed by value.

ones

-paddle.v2.fluid.layers.ones(shape, dtype)
+paddle.v2.fluid.layers.ones(shape, dtype, force_cpu=False)

ones

This function creates a tensor of specified shape and dtype, and initializes this with 1.

@@ -4772,7 +4772,7 @@ initializes it with a constant specifed by value.

zeros

-paddle.v2.fluid.layers.zeros(shape, dtype)
+paddle.v2.fluid.layers.zeros(shape, dtype, force_cpu=False)

zeros

This function creates a tensor of specified shape and dtype, and initializes this with 0.

-- GitLab