diff --git a/develop/doc/api/v2/fluid/layers.html b/develop/doc/api/v2/fluid/layers.html index 6e8d381e5b7ed0f3671258e7a6eacf208a3719a7..64af4be84a158bff63c8485e847d718a34e0940b 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.
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.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 46fde35a24aa975f107c842cd269dcfb13b104f7..24c89d345d879339d270ffb9ac69c5093e6f5ce9 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.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.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.