From e966d0b673d7d1966cac26f06b73c5f445ed1bd1 Mon Sep 17 00:00:00 2001 From: wangchaochaohu Date: Sat, 22 Aug 2020 09:52:35 +0800 Subject: [PATCH] refine the doc test=develop (#26517) --- python/paddle/tensor/stat.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python/paddle/tensor/stat.py b/python/paddle/tensor/stat.py index 931755aa6d7..19f315cbb69 100644 --- a/python/paddle/tensor/stat.py +++ b/python/paddle/tensor/stat.py @@ -267,11 +267,11 @@ def numel(x, name=None): Examples: .. code-block:: python - import paddle - - paddle.disable_static() - x = paddle.full(shape=[4, 5, 7], fill_value=0, dtype='int32') - numel = paddle.numel(x) # 140 + import paddle + + paddle.disable_static() + x = paddle.full(shape=[4, 5, 7], fill_value=0, dtype='int32') + numel = paddle.numel(x) # 140 """ -- GitLab