fix paddle.static.acc and auc sample code bug, test=document_fix (#30715)

revert-31068-fix_conv3d_windows
Jiaqi Liu 4 years ago committed by GitHub
parent 3fa2e2c67c
commit 65a9744cfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,6 +51,7 @@ def accuracy(input, label, k=1, correct=None, total=None):
Examples: Examples:
.. code-block:: python .. code-block:: python
import numpy as np import numpy as np
import paddle import paddle
@ -156,6 +157,7 @@ def auc(input,
Examples: Examples:
.. code-block:: python .. code-block:: python
import numpy as np import numpy as np
import paddle import paddle

Loading…
Cancel
Save