refine the doc test=develop (#26517)

test_feature_precision_test_c
wangchaochaohu 5 years ago committed by GitHub
parent 190c695733
commit e966d0b673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
"""

Loading…
Cancel
Save