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

revert-22778-infer_var_type
Zhang Ting 5 years ago committed by GitHub
parent 1fc219ebae
commit ab8f8fa70d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1301,7 +1301,7 @@ All parameter, weight, gradient are variables in Paddle.
.. code-block:: python
import paddle.fluid as fluid
cpu_place = fluid.CPUPlace()to be allocated
cpu_place = fluid.CPUPlace()
)DOC")
.def(py::init<>())

Loading…
Cancel
Save