diff --git a/doc/fluid/api/initializer.rst b/doc/fluid/api/initializer.rst index 0068f3f603e930d564d71f964cf3ff49a15b9f0d..085cee5a6862a16e8dc3588f5b8cd354ec0d9334 100644 --- a/doc/fluid/api/initializer.rst +++ b/doc/fluid/api/initializer.rst @@ -9,8 +9,6 @@ fluid.initializer initializer/BilinearInitializer.rst initializer/Constant.rst initializer/ConstantInitializer.rst - initializer/force_init_on_cpu.rst - initializer/init_on_cpu.rst initializer/MSRA.rst initializer/MSRAInitializer.rst initializer/Normal.rst diff --git a/doc/fluid/api/initializer/force_init_on_cpu.rst b/doc/fluid/api/initializer/force_init_on_cpu.rst deleted file mode 100644 index e9724b84800560efc329397808802f6fb3cc80fd..0000000000000000000000000000000000000000 --- a/doc/fluid/api/initializer/force_init_on_cpu.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` - !DO NOT EDIT THIS FILE MANUALLY! - -.. _api_fluid_initializer_force_init_on_cpu: - -force_init_on_cpu ------------------ - -.. autofunction:: paddle.fluid.initializer.force_init_on_cpu - :noindex: - diff --git a/doc/fluid/api/initializer/init_on_cpu.rst b/doc/fluid/api/initializer/init_on_cpu.rst deleted file mode 100644 index c7ae66820cdca4060601761d83d5fb2471a48c51..0000000000000000000000000000000000000000 --- a/doc/fluid/api/initializer/init_on_cpu.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` - !DO NOT EDIT THIS FILE MANUALLY! - -.. _api_fluid_initializer_init_on_cpu: - -init_on_cpu ------------ - -.. autofunction:: paddle.fluid.initializer.init_on_cpu - :noindex: - diff --git a/doc/fluid/api_cn/initializer_cn.rst b/doc/fluid/api_cn/initializer_cn.rst index 0fc51ed4565f67d11e1d7fc4d0ff6e6702fda767..6db5683954c8b2cc08653b079759f6bc5075553a 100644 --- a/doc/fluid/api_cn/initializer_cn.rst +++ b/doc/fluid/api_cn/initializer_cn.rst @@ -12,8 +12,6 @@ fluid.initializer initializer_cn/BilinearInitializer_cn.rst initializer_cn/Constant_cn.rst initializer_cn/ConstantInitializer_cn.rst - initializer_cn/force_init_on_cpu_cn.rst - initializer_cn/init_on_cpu_cn.rst initializer_cn/MSRA_cn.rst initializer_cn/MSRAInitializer_cn.rst initializer_cn/Normal_cn.rst diff --git a/doc/fluid/api_cn/initializer_cn/force_init_on_cpu_cn.rst b/doc/fluid/api_cn/initializer_cn/force_init_on_cpu_cn.rst deleted file mode 100644 index 7957a26a5a9de6b1e466a68a22f4a0c0db7696b5..0000000000000000000000000000000000000000 --- a/doc/fluid/api_cn/initializer_cn/force_init_on_cpu_cn.rst +++ /dev/null @@ -1,31 +0,0 @@ -.. _cn_api_fluid_initializer_force_init_on_cpu: - -force_init_on_cpu -------------------------------- - -.. py:function:: paddle.fluid.initializer.force_init_on_cpu() - -该接口获得一个是否强制在CPU上初始化变量的布尔型标志位。 - -返回:状态,是否应强制在CPU上强制进行变量初始化 - -返回类型:bool - -**代码示例**: - -.. code-block:: python - - import paddle.fluid as fluid - if fluid.initializer.force_init_on_cpu(): - step = fluid.layers.create_global_var(shape=[2,3], value=1.0, dtype='float32') - - - - - - - - - - - diff --git a/doc/fluid/api_cn/initializer_cn/init_on_cpu_cn.rst b/doc/fluid/api_cn/initializer_cn/init_on_cpu_cn.rst deleted file mode 100644 index 00e7b1d86e8d30ea4418d41f993a5002e886ad6a..0000000000000000000000000000000000000000 --- a/doc/fluid/api_cn/initializer_cn/init_on_cpu_cn.rst +++ /dev/null @@ -1,21 +0,0 @@ -.. _cn_api_fluid_initializer_init_on_cpu: - -init_on_cpu -------------------------------- - -.. py:function:: paddle.fluid.initializer.init_on_cpu() - -该接口设置强制变量在 cpu 上初始化。 - -返回:无 - -**代码示例** - -.. code-block:: python - - import paddle.fluid as fluid - with fluid.initializer.init_on_cpu(): - step = fluid.layers.create_global_var(shape=[2,3], value=1.0, dtype='float32') - - -