diff --git a/python/paddle/tensor/stat.py b/python/paddle/tensor/stat.py index 931755aa6d7943cabb0a6a30d66bff51953a28cb..19f315cbb69cc60498220454672da4715fe05431 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 """