未验证 提交 e966d0b6 编写于 作者: W wangchaochaohu 提交者: GitHub

refine the doc test=develop (#26517)

上级 190c6957
...@@ -267,11 +267,11 @@ def numel(x, name=None): ...@@ -267,11 +267,11 @@ def numel(x, name=None):
Examples: Examples:
.. code-block:: python .. code-block:: python
import paddle import paddle
paddle.disable_static() paddle.disable_static()
x = paddle.full(shape=[4, 5, 7], fill_value=0, dtype='int32') x = paddle.full(shape=[4, 5, 7], fill_value=0, dtype='int32')
numel = paddle.numel(x) # 140 numel = paddle.numel(x) # 140
""" """
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册