未验证 提交 ab8f8fa7 编写于 作者: Z Zhang Ting 提交者: GitHub

fix example code, test=develop, test=document_fix (#24139)

上级 1fc219eb
...@@ -1301,7 +1301,7 @@ All parameter, weight, gradient are variables in Paddle. ...@@ -1301,7 +1301,7 @@ All parameter, weight, gradient are variables in Paddle.
.. code-block:: python .. code-block:: python
import paddle.fluid as fluid import paddle.fluid as fluid
cpu_place = fluid.CPUPlace()to be allocated cpu_place = fluid.CPUPlace()
)DOC") )DOC")
.def(py::init<>()) .def(py::init<>())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册